<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title>EaselJS v0.5.0 API Documentation</title>

	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1345841645.22" />
	<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1345841645.22" />

    <script type="text/javascript" src="assets/api-js?stamp=1345841645.22"></script>
    <script type="text/javascript" src="assets/ac-js?stamp=1345841645.22"></script>
</head>

<body id="yahoo-com">

<div id="doc3" class="yui-t2">
	<div id="hd">
        <h1><a href="http://createjs.com/" title="EaselJS">EaselJS</a></h1>
        <h3>EaselJS&nbsp; <span class="subtitle">0.5.0</span></h3>
        <a href="./index.html" title="EaselJS">EaselJS</a> 
            &gt; <a href="./module_EaselJS.html" title="EaselJS">EaselJS</a>
                
                 &gt; SpriteSheetBuilder.js (source view) 
        <form onsubmit="return false">
            <div id="propertysearch">
                Search: <input autocomplete="off" id="searchinput" />
                <div id="searchresults">
                    &nbsp;
                </div>
            </div>
        </form>
	</div>

	<div id="bd">
		<div id="yui-main">
			<div class="yui-b">
            <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
                <fieldset>
                    <legend>Filters</legend>
                <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
                <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
                <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
                </fieldset>
            </form>

                    <div id="srcout">
                        <style>
                            #doc3 .classopts { display:none; }
                        </style>
<div class="highlight"><pre><span class="cm">/*</span>
<span class="cm">* SpriteSheetBuilder</span>
<span class="cm">* Visit http://createjs.com/ for documentation, updates and examples.</span>
<span class="cm">*</span>
<span class="cm">* Copyright (c) 2010 gskinner.com, inc.</span>
<span class="cm">* </span>
<span class="cm">* Permission is hereby granted, free of charge, to any person</span>
<span class="cm">* obtaining a copy of this software and associated documentation</span>
<span class="cm">* files (the &quot;Software&quot;), to deal in the Software without</span>
<span class="cm">* restriction, including without limitation the rights to use,</span>
<span class="cm">* copy, modify, merge, publish, distribute, sublicense, and/or sell</span>
<span class="cm">* copies of the Software, and to permit persons to whom the</span>
<span class="cm">* Software is furnished to do so, subject to the following</span>
<span class="cm">* conditions:</span>
<span class="cm">* </span>
<span class="cm">* The above copyright notice and this permission notice shall be</span>
<span class="cm">* included in all copies or substantial portions of the Software.</span>
<span class="cm">* </span>
<span class="cm">* THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,</span>
<span class="cm">* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES</span>
<span class="cm">* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND</span>
<span class="cm">* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT</span>
<span class="cm">* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,</span>
<span class="cm">* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span>
<span class="cm">* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR</span>
<span class="cm">* OTHER DEALINGS IN THE SOFTWARE.</span>
<span class="cm">*/</span>

<span class="c1">// namespace:</span>
<span class="k">this</span><span class="p">.</span><span class="nx">createjs</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">createjs</span><span class="o">||</span><span class="p">{};</span>

<span class="p">(</span><span class="kd">function</span><span class="p">()</span> <span class="p">{</span>

<span class="cm">/**</span>
<span class="cm"> * The SpriteSheetBuilder allows you to generate sprite sheets at run time from any display object. This can allow</span>
<span class="cm"> * you to maintain your assets as vector graphics (for low file size), and render them at run time as sprite sheets</span>
<span class="cm"> * for better performance.</span>
<span class="cm"> * &lt;br/&gt;&lt;br/&gt;</span>
<span class="cm"> * Sprite sheets can be built either synchronously, or asynchronously, so that large sprite sheets can be generated</span>
<span class="cm"> * without locking the UI.</span>
<span class="cm"> * &lt;br/&gt;&lt;br/&gt;</span>
<span class="cm"> * Note that the &quot;images&quot; used in the generated sprite sheet are actually canvas elements, and that they will be sized</span>
<span class="cm"> * to the nearest power of 2 up to the value of maxWidth or maxHeight.</span>
<span class="cm"> * @class SpriteSheetBuilder</span>
<span class="cm"> * @constructor</span>
<span class="cm"> **/</span>
<span class="kd">var</span> <span class="nx">SpriteSheetBuilder</span> <span class="o">=</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
  <span class="k">this</span><span class="p">.</span><span class="nx">initialize</span><span class="p">();</span>
<span class="p">}</span>
<span class="kd">var</span> <span class="nx">p</span> <span class="o">=</span> <span class="nx">SpriteSheetBuilder</span><span class="p">.</span><span class="nx">prototype</span><span class="p">;</span>

<span class="c1">// constants:</span>
	<span class="nx">SpriteSheetBuilder</span><span class="p">.</span><span class="nx">ERR_DIMENSIONS</span> <span class="o">=</span> <span class="s2">&quot;frame dimensions exceed max spritesheet dimensions&quot;</span><span class="p">;</span>
	<span class="nx">SpriteSheetBuilder</span><span class="p">.</span><span class="nx">ERR_RUNNING</span> <span class="o">=</span> <span class="s2">&quot;a build is already running&quot;</span><span class="p">;</span>

<span class="c1">// public properties:</span>

	<span class="cm">/**</span>
<span class="cm">	 * The maximum width for the images (not individual frames) in the generated sprite sheet. It is recommended to use</span>
<span class="cm">	 * a power of 2 for this value (ex. 1024, 2048, 4096). If the frames cannot all fit within the max dimensions, then</span>
<span class="cm">	 * additional images will be created as needed.</span>
<span class="cm">	 * @property maxWidth</span>
<span class="cm">	 * @type Number</span>
<span class="cm">	 * @default 2048</span>
<span class="cm">	*/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">maxWidth</span> <span class="o">=</span> <span class="mi">2048</span><span class="p">;</span>

	<span class="cm">/**</span>
<span class="cm">	 * The maximum height for the images (not individual frames) in the generated sprite sheet. It is recommended to use</span>
<span class="cm">	 * a power of 2 for this value (ex. 1024, 2048, 4096). If the frames cannot all fit within the max dimensions, then</span>
<span class="cm">	 * additional images will be created as needed.</span>
<span class="cm">	 * @property maxHeight</span>
<span class="cm">	 * @type Number</span>
<span class="cm">	 * @default 2048</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">maxHeight</span> <span class="o">=</span> <span class="mi">2048</span><span class="p">;</span>

	<span class="cm">/**</span>
<span class="cm">	 * The sprite sheet that was generated. This will be null before a build is completed successfully.</span>
<span class="cm">	 * @property spriteSheet</span>
<span class="cm">	 * @type SpriteSheet</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">spriteSheet</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * The scale to apply when drawing all frames to the sprite sheet. This is multiplied against any scale specified</span>
<span class="cm">	 * in the addFrame call. This can be used, for example, to generate a sprite sheet at run time that is tailored to</span>
<span class="cm">	 * the a specific device resolution (ex. tablet vs mobile).</span>
<span class="cm">	 * @property defaultScale</span>
<span class="cm">	 * @type Number</span>
<span class="cm">	 * @default 1</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">scale</span> <span class="o">=</span> <span class="mi">1</span><span class="p">;</span>
	
	<span class="cm">/**</span>
<span class="cm">	* The padding to use between frames. This is helpful to preserve antialiasing on drawn vector content.</span>
<span class="cm">	* @property padding</span>
<span class="cm">	* @type Number</span>
<span class="cm">	* @default 1</span>
<span class="cm">	**/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">padding</span> <span class="o">=</span> <span class="mi">1</span><span class="p">;</span>

<span class="c1">// private properties:</span>

	<span class="cm">/**</span>
<span class="cm">	 * @property _frames</span>
<span class="cm">	 * @protected</span>
<span class="cm">	 * @type Array</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">_frames</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * @property _animations</span>
<span class="cm">	 * @protected</span>
<span class="cm">	 * @type Array</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">_animations</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * @property _data</span>
<span class="cm">	 * @protected</span>
<span class="cm">	 * @type Array</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">_data</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * @property _nextFrameIndex</span>
<span class="cm">	 * @protected</span>
<span class="cm">	 * @type Number</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">_nextFrameIndex</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * @property _index</span>
<span class="cm">	 * @protected</span>
<span class="cm">	 * @type Number</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">_index</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * @property _callback</span>
<span class="cm">	 * @protected</span>
<span class="cm">	 * @type Function</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">_callback</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * @property _timeSlice</span>
<span class="cm">	 * @protected</span>
<span class="cm">	 * @type Number</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">_timeSlice</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * @property _timerID</span>
<span class="cm">	 * @protected</span>
<span class="cm">	 * @type Number</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">_timerID</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * @property _scale</span>
<span class="cm">	 * @protected</span>
<span class="cm">	 * @type Number</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">_scale</span> <span class="o">=</span> <span class="mi">1</span><span class="p">;</span>

<span class="c1">// constructor:</span>
	<span class="cm">/**</span>
<span class="cm">	 * Initialization method.</span>
<span class="cm">	 * @method initialize</span>
<span class="cm">	 * @protected</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">initialize</span> <span class="o">=</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
		<span class="k">this</span><span class="p">.</span><span class="nx">_frames</span> <span class="o">=</span> <span class="p">[];</span>
		<span class="k">this</span><span class="p">.</span><span class="nx">_animations</span> <span class="o">=</span> <span class="p">{};</span>
	<span class="p">}</span>

<span class="c1">// public methods:</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * Adds a frame to the sprite sheet. Note that the frame will not be drawn until you call build. The optional</span>
<span class="cm">	 * setup params allow you to have a function run immediately before the draw occurs. For example, this allows you to</span>
<span class="cm">	 * add a single source multiple times, but manipulate it or it&#39;s children to change it to generate different frames.</span>
<span class="cm">	 * &lt;br/&gt;&lt;br/&gt;</span>
<span class="cm">	 * Note that the source&#39;s transformations (x,y,scale,rotate,alpha) will be ignored, except for regX/Y. To apply</span>
<span class="cm">	 * transforms to a source object and have them captured in the sprite sheet, simply place it into a Container</span>
<span class="cm">	 * and pass in the Container as the source.</span>
<span class="cm">	 * @method addFrame</span>
<span class="cm">	 * @param {DisplayObject} source The source display object to draw as the frame.</span>
<span class="cm">	 * @param {Rectangle} sourceRect Optional. A rectangle defining the portion of the source to draw to the frame. If</span>
<span class="cm">	 * not specified, it will look for a getBounds method, bounds property, or nominalBounds property on the source to use.</span>
<span class="cm">	 * If one is not found, the frame will be skipped.</span>
<span class="cm">	 * @param {Number} scale Optional. The scale to draw this frame at. Default is 1.</span>
<span class="cm">	 * @param {Function} setupFunction Optional. A function to call immediately before drawing this frame.</span>
<span class="cm">	 * @param {Array} setupParams Optional. Parameters to pass to the setup function.</span>
<span class="cm">	 * @param {Object} setupScope Optional. The scope to call the setupFunction in.</span>
<span class="cm">	 * @return {Number} The index of the frame that was just added, or null if a sourceRect could not be determined.</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">addFrame</span> <span class="o">=</span> <span class="kd">function</span><span class="p">(</span><span class="nx">source</span><span class="p">,</span> <span class="nx">sourceRect</span><span class="p">,</span> <span class="nx">scale</span><span class="p">,</span> <span class="nx">setupFunction</span><span class="p">,</span> <span class="nx">setupParams</span><span class="p">,</span> <span class="nx">setupScope</span><span class="p">)</span> <span class="p">{</span>
		<span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_data</span><span class="p">)</span> <span class="p">{</span> <span class="k">throw</span> <span class="nx">SpriteSheetBuilder</span><span class="p">.</span><span class="nx">ERR_RUNNING</span><span class="p">;</span> <span class="p">}</span>
		<span class="kd">var</span> <span class="nx">rect</span> <span class="o">=</span> <span class="nx">sourceRect</span><span class="o">||</span><span class="nx">source</span><span class="p">.</span><span class="nx">bounds</span><span class="o">||</span><span class="nx">source</span><span class="p">.</span><span class="nx">nominalBounds</span><span class="p">;</span>
		<span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="nx">rect</span><span class="o">&amp;&amp;</span><span class="nx">source</span><span class="p">.</span><span class="nx">getBounds</span><span class="p">)</span> <span class="p">{</span> <span class="nx">rect</span> <span class="o">=</span> <span class="nx">source</span><span class="p">.</span><span class="nx">getBounds</span><span class="p">();</span> <span class="p">}</span>
		<span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="nx">rect</span><span class="p">)</span> <span class="p">{</span> <span class="k">return</span> <span class="kc">null</span><span class="p">;</span> <span class="p">}</span>
		<span class="nx">scale</span> <span class="o">=</span> <span class="nx">scale</span><span class="o">||</span><span class="mi">1</span><span class="p">;</span>
		<span class="k">return</span> <span class="k">this</span><span class="p">.</span><span class="nx">_frames</span><span class="p">.</span><span class="nx">push</span><span class="p">({</span><span class="nx">source</span><span class="o">:</span><span class="nx">source</span><span class="p">,</span> <span class="nx">sourceRect</span><span class="o">:</span><span class="nx">rect</span><span class="p">,</span> <span class="nx">scale</span><span class="o">:</span><span class="nx">scale</span><span class="p">,</span> <span class="nx">funct</span><span class="o">:</span><span class="nx">setupFunction</span><span class="p">,</span> <span class="nx">params</span><span class="o">:</span><span class="nx">setupParams</span><span class="p">,</span> <span class="nx">scope</span><span class="o">:</span><span class="nx">setupScope</span><span class="p">,</span> <span class="nx">index</span><span class="o">:</span><span class="k">this</span><span class="p">.</span><span class="nx">_frames</span><span class="p">.</span><span class="nx">length</span><span class="p">,</span> <span class="nx">height</span><span class="o">:</span><span class="nx">rect</span><span class="p">.</span><span class="nx">height</span><span class="o">*</span><span class="nx">scale</span><span class="p">})</span><span class="o">-</span><span class="mi">1</span><span class="p">;</span>
	<span class="p">}</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * Adds an animation that will be included in the created sprite sheet.</span>
<span class="cm">	 * @method addFrame</span>
<span class="cm">	 * @param {String} name The name for the animation.</span>
<span class="cm">	 * @param {Array} frames An array of frame indexes that comprise the animation. Ex. [3,6,5] would describe an animation</span>
<span class="cm">	 * that played frame indexes 3, 6, and 5 in that order.</span>
<span class="cm">	 * @param {String} next Optional. Specifies the name of the animation to continue to after this animation ends. You can</span>
<span class="cm">	 * also pass false to have the animation stop when it ends. By default it will loop to the start of the same animation.</span>
<span class="cm">	 * @param {Number} frequency Optional. Specifies a frame advance frequency for this animation. For example, a value</span>
<span class="cm">	 * of 2 would cause the animation to advance every second tick.</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">addAnimation</span> <span class="o">=</span> <span class="kd">function</span><span class="p">(</span><span class="nx">name</span><span class="p">,</span> <span class="nx">frames</span><span class="p">,</span> <span class="nx">next</span><span class="p">,</span> <span class="nx">frequency</span><span class="p">)</span> <span class="p">{</span>
		<span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_data</span><span class="p">)</span> <span class="p">{</span> <span class="k">throw</span> <span class="nx">SpriteSheetBuilder</span><span class="p">.</span><span class="nx">ERR_RUNNING</span><span class="p">;</span> <span class="p">}</span>
		<span class="k">this</span><span class="p">.</span><span class="nx">_animations</span><span class="p">[</span><span class="nx">name</span><span class="p">]</span> <span class="o">=</span> <span class="p">{</span><span class="nx">frames</span><span class="o">:</span><span class="nx">frames</span><span class="p">,</span> <span class="nx">next</span><span class="o">:</span><span class="nx">next</span><span class="p">,</span> <span class="nx">frequency</span><span class="o">:</span><span class="nx">frequency</span><span class="p">};</span>
	<span class="p">}</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * This will take a MovieClip, and add its frames and labels to this builder. Labels will be added as an animation</span>
<span class="cm">	 * running from the label index to the next label. For example, if there is a label named &quot;foo&quot; at frame 0 and a label</span>
<span class="cm">	 * named &quot;bar&quot; at frame 10, in a MovieClip with 15 frames, it will add an animation named &quot;foo&quot; that runs from frame</span>
<span class="cm">	 * index 0 to 9, and an animation named &quot;bar&quot; that runs from frame index 10 to 14.</span>
<span class="cm">	 * &lt;br/&gt;&lt;br/&gt;</span>
<span class="cm">	 * Note that this will iterate through the full MovieClip with actionsEnabled set to false, ending on the last frame.</span>
<span class="cm">	 * @method addMovieClip</span>
<span class="cm">	 * @param {MovieClip} source The source MovieClip to add to the sprite sheet.</span>
<span class="cm">	 * @param {Rectangle} sourceRect Optional. A rectangle defining the portion of the source to draw to the frame. If</span>
<span class="cm">	 * not specified, it will look for a getBounds method, frameBounds array, bounds property, or nominalBounds property</span>
<span class="cm">	 * on the source to use. If one is not found, the MovieClip will be skipped.</span>
<span class="cm">	 * @param {Number} scale Optional. The scale to draw the movie clip at. Default is 1.</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">addMovieClip</span> <span class="o">=</span> <span class="kd">function</span><span class="p">(</span><span class="nx">source</span><span class="p">,</span> <span class="nx">sourceRect</span><span class="p">,</span> <span class="nx">scale</span><span class="p">)</span> <span class="p">{</span>
		<span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_data</span><span class="p">)</span> <span class="p">{</span> <span class="k">throw</span> <span class="nx">SpriteSheetBuilder</span><span class="p">.</span><span class="nx">ERR_RUNNING</span><span class="p">;</span> <span class="p">}</span>
		<span class="kd">var</span> <span class="nx">rects</span> <span class="o">=</span> <span class="nx">source</span><span class="p">.</span><span class="nx">frameBounds</span><span class="p">;</span>
		<span class="kd">var</span> <span class="nx">rect</span> <span class="o">=</span> <span class="nx">sourceRect</span><span class="o">||</span><span class="nx">source</span><span class="p">.</span><span class="nx">bounds</span><span class="o">||</span><span class="nx">source</span><span class="p">.</span><span class="nx">nominalBounds</span><span class="p">;</span>
		<span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="nx">rect</span><span class="o">&amp;&amp;</span><span class="nx">source</span><span class="p">.</span><span class="nx">getBounds</span><span class="p">)</span> <span class="p">{</span> <span class="nx">rect</span> <span class="o">=</span> <span class="nx">source</span><span class="p">.</span><span class="nx">getBounds</span><span class="p">();</span> <span class="p">}</span>
		<span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="nx">rect</span> <span class="o">&amp;&amp;</span> <span class="o">!</span><span class="nx">rects</span><span class="p">)</span> <span class="p">{</span> <span class="k">return</span> <span class="kc">null</span><span class="p">;</span> <span class="p">}</span>
		
		<span class="kd">var</span> <span class="nx">duration</span> <span class="o">=</span> <span class="nx">source</span><span class="p">.</span><span class="nx">timeline</span><span class="p">.</span><span class="nx">duration</span><span class="p">;</span>
		<span class="k">for</span> <span class="p">(</span><span class="kd">var</span> <span class="nx">i</span><span class="o">=</span><span class="mi">0</span><span class="p">;</span> <span class="nx">i</span><span class="o">&lt;</span><span class="nx">duration</span><span class="p">;</span> <span class="nx">i</span><span class="o">++</span><span class="p">)</span> <span class="p">{</span>
			<span class="kd">var</span> <span class="nx">r</span> <span class="o">=</span> <span class="p">(</span><span class="nx">rects</span><span class="o">&amp;&amp;</span><span class="nx">rects</span><span class="p">[</span><span class="nx">i</span><span class="p">])</span> <span class="o">?</span> <span class="nx">rects</span><span class="p">[</span><span class="nx">i</span><span class="p">]</span> <span class="o">:</span> <span class="nx">rect</span><span class="p">;</span>
			<span class="k">this</span><span class="p">.</span><span class="nx">addFrame</span><span class="p">(</span><span class="nx">source</span><span class="p">,</span> <span class="nx">r</span><span class="p">,</span> <span class="nx">scale</span><span class="p">,</span> <span class="kd">function</span><span class="p">(</span><span class="nx">frame</span><span class="p">)</span> <span class="p">{</span>
				<span class="kd">var</span> <span class="nx">ae</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">actionsEnabled</span><span class="p">;</span>
				<span class="k">this</span><span class="p">.</span><span class="nx">actionsEnabled</span> <span class="o">=</span> <span class="kc">false</span><span class="p">;</span>
				<span class="k">this</span><span class="p">.</span><span class="nx">gotoAndStop</span><span class="p">(</span><span class="nx">frame</span><span class="p">);</span>
				<span class="k">this</span><span class="p">.</span><span class="nx">actionsEnabled</span> <span class="o">=</span> <span class="nx">ae</span><span class="p">;</span>
			<span class="p">},</span> <span class="p">[</span><span class="nx">i</span><span class="p">],</span> <span class="nx">source</span><span class="p">);</span>
		<span class="p">}</span>
		<span class="kd">var</span> <span class="nx">labels</span> <span class="o">=</span> <span class="nx">source</span><span class="p">.</span><span class="nx">timeline</span><span class="p">.</span><span class="nx">_labels</span><span class="p">;</span>
		<span class="kd">var</span> <span class="nx">lbls</span> <span class="o">=</span> <span class="p">[];</span>
		<span class="k">for</span> <span class="p">(</span><span class="kd">var</span> <span class="nx">n</span> <span class="k">in</span> <span class="nx">labels</span><span class="p">)</span> <span class="p">{</span>
			<span class="nx">lbls</span><span class="p">.</span><span class="nx">push</span><span class="p">({</span><span class="nx">index</span><span class="o">:</span><span class="nx">labels</span><span class="p">[</span><span class="nx">n</span><span class="p">],</span> <span class="nx">label</span><span class="o">:</span><span class="nx">n</span><span class="p">});</span>
		<span class="p">}</span>
		<span class="k">if</span> <span class="p">(</span><span class="nx">lbls</span><span class="p">.</span><span class="nx">length</span><span class="p">)</span> <span class="p">{</span>
			<span class="nx">lbls</span><span class="p">.</span><span class="nx">sort</span><span class="p">(</span><span class="kd">function</span><span class="p">(</span><span class="nx">a</span><span class="p">,</span><span class="nx">b</span><span class="p">){</span> <span class="k">return</span> <span class="nx">a</span><span class="p">.</span><span class="nx">index</span><span class="o">-</span><span class="nx">b</span><span class="p">.</span><span class="nx">index</span><span class="p">;</span> <span class="p">});</span>
			<span class="k">for</span> <span class="p">(</span><span class="kd">var</span> <span class="nx">i</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span><span class="nx">l</span><span class="o">=</span><span class="nx">lbls</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span> <span class="nx">i</span><span class="o">&lt;</span><span class="nx">l</span><span class="p">;</span> <span class="nx">i</span><span class="o">++</span><span class="p">)</span> <span class="p">{</span>
				<span class="kd">var</span> <span class="nx">label</span> <span class="o">=</span> <span class="nx">lbls</span><span class="p">[</span><span class="nx">i</span><span class="p">].</span><span class="nx">label</span><span class="p">;</span>
				<span class="kd">var</span> <span class="nx">start</span> <span class="o">=</span> <span class="nx">lbls</span><span class="p">[</span><span class="nx">i</span><span class="p">].</span><span class="nx">index</span><span class="p">;</span>
				<span class="kd">var</span> <span class="nx">end</span> <span class="o">=</span> <span class="p">(</span><span class="nx">i</span> <span class="o">==</span> <span class="nx">l</span><span class="o">-</span><span class="mi">1</span><span class="p">)</span> <span class="o">?</span> <span class="nx">duration</span> <span class="o">:</span> <span class="nx">lbls</span><span class="p">[</span><span class="nx">i</span><span class="o">+</span><span class="mi">1</span><span class="p">].</span><span class="nx">index</span><span class="p">;</span>
				<span class="kd">var</span> <span class="nx">frames</span> <span class="o">=</span> <span class="p">[];</span>
				<span class="k">for</span> <span class="p">(</span><span class="kd">var</span> <span class="nx">j</span><span class="o">=</span><span class="nx">start</span><span class="p">;</span> <span class="nx">j</span><span class="o">&lt;</span><span class="nx">end</span><span class="p">;</span> <span class="nx">j</span><span class="o">++</span><span class="p">)</span> <span class="p">{</span> <span class="nx">frames</span><span class="p">.</span><span class="nx">push</span><span class="p">(</span><span class="nx">j</span><span class="p">);</span> <span class="p">}</span>
				<span class="k">this</span><span class="p">.</span><span class="nx">addAnimation</span><span class="p">(</span><span class="nx">label</span><span class="p">,</span> <span class="nx">frames</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span> <span class="c1">// for now, this loops all animations.</span>
			<span class="p">}</span>
		<span class="p">}</span>
	<span class="p">}</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * Builds a SpriteSheet instance based on the current frames.</span>
<span class="cm">	 * @method build</span>
<span class="cm">	 * @return SpriteSheet The created SpriteSheet instance, or null if a build is already running or an error occurred.</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">build</span> <span class="o">=</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
		<span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_data</span><span class="p">)</span> <span class="p">{</span> <span class="k">throw</span> <span class="nx">SpriteSheetBuilder</span><span class="p">.</span><span class="nx">ERR_RUNNING</span><span class="p">;</span> <span class="p">}</span>
		<span class="k">this</span><span class="p">.</span><span class="nx">_callback</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
		<span class="k">this</span><span class="p">.</span><span class="nx">_startBuild</span><span class="p">();</span>
		<span class="k">while</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_drawNext</span><span class="p">())</span> <span class="p">{}</span>
		<span class="k">this</span><span class="p">.</span><span class="nx">_endBuild</span><span class="p">();</span>
		<span class="k">return</span> <span class="k">this</span><span class="p">.</span><span class="nx">spriteSheet</span><span class="p">;</span>
	<span class="p">}</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * Asynchronously builds a SpriteSheet instance based on the current frames. It will run 20 times per second, using</span>
<span class="cm">	 * an amount of time defined by timeSlice. When it is complete it will call the specified callback.</span>
<span class="cm">	 * @method buildAsync</span>
<span class="cm">	 * @param {Function} callback Optional. The function to call when the build operation completes. It will be called</span>
<span class="cm">	 * with a single parameter providing a reference back to the builder.</span>
<span class="cm">	 * @param {Number} timeSlice Optional. A number from 0.01 to 1 that indicates what percentage of time the builder can use. This can be</span>
<span class="cm">	 * thought of as the number of seconds per second the builder will use. For example, with a timeSlice value of 0.3,</span>
<span class="cm">	 * the builder will run 20 times per second, using approximately 15ms per build (30% of available time, or 0.3s per second).</span>
<span class="cm">	 * Defaults to 0.3.</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">buildAsync</span> <span class="o">=</span> <span class="kd">function</span><span class="p">(</span><span class="nx">callback</span><span class="p">,</span> <span class="nx">timeSlice</span><span class="p">)</span> <span class="p">{</span>
		<span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_data</span><span class="p">)</span> <span class="p">{</span> <span class="k">throw</span> <span class="nx">SpriteSheetBuilder</span><span class="p">.</span><span class="nx">ERR_RUNNING</span><span class="p">;</span> <span class="p">}</span>
		<span class="k">this</span><span class="p">.</span><span class="nx">_callback</span> <span class="o">=</span> <span class="nx">callback</span><span class="p">;</span>
		<span class="k">this</span><span class="p">.</span><span class="nx">_startBuild</span><span class="p">();</span>
		<span class="k">this</span><span class="p">.</span><span class="nx">_timeSlice</span> <span class="o">=</span> <span class="nb">Math</span><span class="p">.</span><span class="nx">max</span><span class="p">(</span><span class="mf">0.01</span><span class="p">,</span> <span class="nb">Math</span><span class="p">.</span><span class="nx">min</span><span class="p">(</span><span class="mf">0.99</span><span class="p">,</span> <span class="nx">timeSlice</span><span class="o">||</span><span class="mf">0.3</span><span class="p">))</span><span class="o">*</span><span class="mi">50</span><span class="p">;</span>
		<span class="kd">var</span> <span class="nx">_this</span> <span class="o">=</span> <span class="k">this</span><span class="p">;</span>
		<span class="k">this</span><span class="p">.</span><span class="nx">_timerID</span> <span class="o">=</span> <span class="nx">setTimeout</span><span class="p">(</span><span class="kd">function</span><span class="p">()</span> <span class="p">{</span> <span class="nx">_this</span><span class="p">.</span><span class="nx">_run</span><span class="p">();</span> <span class="p">},</span> <span class="mi">50</span><span class="o">-</span><span class="k">this</span><span class="p">.</span><span class="nx">_timeSlice</span><span class="p">);</span>
	<span class="p">}</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * Stops the current asynchronous build.</span>
<span class="cm">	 * @method stopAsync</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">stopAsync</span> <span class="o">=</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
		<span class="nx">clearTimeout</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_timerID</span><span class="p">);</span>
		<span class="k">this</span><span class="p">.</span><span class="nx">_data</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
	<span class="p">}</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * SpriteSheetBuilder instances cannot be cloned.</span>
<span class="cm">	 * @method clone</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">clone</span> <span class="o">=</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
		<span class="k">throw</span><span class="p">(</span><span class="s2">&quot;SpriteSheetBuilder cannot be cloned.&quot;</span><span class="p">);</span>
	<span class="p">}</span>

	<span class="cm">/**</span>
<span class="cm">	 * Returns a string representation of this object.</span>
<span class="cm">	 * @method toString</span>
<span class="cm">	 * @return {String} a string representation of the instance.</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">toString</span> <span class="o">=</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
		<span class="k">return</span> <span class="s2">&quot;[SpriteSheetBuilder]&quot;</span><span class="p">;</span>
	<span class="p">}</span>

<span class="c1">// private methods:</span>
	<span class="cm">/**</span>
<span class="cm">	 * @method _startBuild</span>
<span class="cm">	 * @protected</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">_startBuild</span> <span class="o">=</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
		<span class="kd">var</span> <span class="nx">pad</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">padding</span><span class="o">||</span><span class="mi">0</span><span class="p">;</span>
		<span class="k">this</span><span class="p">.</span><span class="nx">spriteSheet</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
		<span class="k">this</span><span class="p">.</span><span class="nx">_index</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>
		<span class="k">this</span><span class="p">.</span><span class="nx">_scale</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">scale</span><span class="p">;</span>
		<span class="kd">var</span> <span class="nx">dataFrames</span> <span class="o">=</span> <span class="p">[];</span>
		<span class="k">this</span><span class="p">.</span><span class="nx">_data</span> <span class="o">=</span> <span class="p">{</span>
			<span class="nx">images</span><span class="o">:</span> <span class="p">[],</span>
			<span class="nx">frames</span><span class="o">:</span> <span class="nx">dataFrames</span><span class="p">,</span>
			<span class="nx">animations</span><span class="o">:</span> <span class="k">this</span><span class="p">.</span><span class="nx">_animations</span> <span class="c1">// TODO: should we &quot;clone&quot; _animations in case someone adds more animations after a build?</span>
		<span class="p">};</span>
		
		<span class="kd">var</span> <span class="nx">frames</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_frames</span><span class="p">.</span><span class="nx">slice</span><span class="p">();</span>
		<span class="nx">frames</span><span class="p">.</span><span class="nx">sort</span><span class="p">(</span><span class="kd">function</span><span class="p">(</span><span class="nx">a</span><span class="p">,</span><span class="nx">b</span><span class="p">)</span> <span class="p">{</span> <span class="k">return</span> <span class="p">(</span><span class="nx">a</span><span class="p">.</span><span class="nx">height</span><span class="o">&lt;=</span><span class="nx">b</span><span class="p">.</span><span class="nx">height</span><span class="p">)</span> <span class="o">?</span> <span class="o">-</span><span class="mi">1</span> <span class="o">:</span> <span class="mi">1</span><span class="p">;</span> <span class="p">});</span>
		
		<span class="k">if</span> <span class="p">(</span><span class="nx">frames</span><span class="p">[</span><span class="nx">frames</span><span class="p">.</span><span class="nx">length</span><span class="o">-</span><span class="mi">1</span><span class="p">].</span><span class="nx">height</span><span class="o">+</span><span class="nx">pad</span><span class="o">*</span><span class="mi">2</span> <span class="o">&gt;</span> <span class="k">this</span><span class="p">.</span><span class="nx">maxHeight</span><span class="p">)</span> <span class="p">{</span> <span class="k">throw</span> <span class="nx">SpriteSheetBuilder</span><span class="p">.</span><span class="nx">ERR_DIMENSIONS</span><span class="p">;</span> <span class="p">}</span>
		<span class="kd">var</span> <span class="nx">y</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span> <span class="nx">x</span><span class="o">=</span><span class="mi">0</span><span class="p">;</span>
		<span class="kd">var</span> <span class="nx">img</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>
		<span class="k">while</span> <span class="p">(</span><span class="nx">frames</span><span class="p">.</span><span class="nx">length</span><span class="p">)</span> <span class="p">{</span>
			<span class="kd">var</span> <span class="nx">o</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_fillRow</span><span class="p">(</span><span class="nx">frames</span><span class="p">,</span> <span class="nx">y</span><span class="p">,</span> <span class="nx">img</span><span class="p">,</span> <span class="nx">dataFrames</span><span class="p">,</span> <span class="nx">pad</span><span class="p">);</span>
			<span class="k">if</span> <span class="p">(</span><span class="nx">o</span><span class="p">.</span><span class="nx">w</span> <span class="o">&gt;</span> <span class="nx">x</span><span class="p">)</span> <span class="p">{</span> <span class="nx">x</span> <span class="o">=</span> <span class="nx">o</span><span class="p">.</span><span class="nx">w</span><span class="p">;</span> <span class="p">}</span>
			<span class="nx">y</span> <span class="o">+=</span> <span class="nx">o</span><span class="p">.</span><span class="nx">h</span><span class="p">;</span>
			<span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="nx">o</span><span class="p">.</span><span class="nx">h</span> <span class="o">||</span> <span class="o">!</span><span class="nx">frames</span><span class="p">.</span><span class="nx">length</span><span class="p">)</span> <span class="p">{</span>
				<span class="kd">var</span> <span class="nx">canvas</span> <span class="o">=</span> <span class="nx">createjs</span><span class="p">.</span><span class="nx">createCanvas</span><span class="o">?</span><span class="nx">createjs</span><span class="p">.</span><span class="nx">createCanvas</span><span class="p">()</span><span class="o">:</span><span class="nb">document</span><span class="p">.</span><span class="nx">createElement</span><span class="p">(</span><span class="s2">&quot;canvas&quot;</span><span class="p">);</span>
				<span class="nx">canvas</span><span class="p">.</span><span class="nx">width</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_getSize</span><span class="p">(</span><span class="nx">x</span><span class="p">,</span><span class="k">this</span><span class="p">.</span><span class="nx">maxWidth</span><span class="p">);</span>
				<span class="nx">canvas</span><span class="p">.</span><span class="nx">height</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_getSize</span><span class="p">(</span><span class="nx">y</span><span class="p">,</span><span class="k">this</span><span class="p">.</span><span class="nx">maxHeight</span><span class="p">);</span>
				<span class="k">this</span><span class="p">.</span><span class="nx">_data</span><span class="p">.</span><span class="nx">images</span><span class="p">[</span><span class="nx">img</span><span class="p">]</span> <span class="o">=</span> <span class="nx">canvas</span><span class="p">;</span>
				<span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="nx">o</span><span class="p">.</span><span class="nx">h</span><span class="p">)</span> <span class="p">{</span>
					<span class="nx">x</span><span class="o">=</span><span class="nx">y</span><span class="o">=</span><span class="mi">0</span><span class="p">;</span>
					<span class="nx">img</span><span class="o">++</span><span class="p">;</span>
				<span class="p">}</span>
			<span class="p">}</span>
		<span class="p">}</span>
	<span class="p">}</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * @method _fillRow</span>
<span class="cm">	 * @protected</span>
<span class="cm">	 * @return {Number} The width &amp; height of the row.</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">_getSize</span> <span class="o">=</span> <span class="kd">function</span><span class="p">(</span><span class="nx">size</span><span class="p">,</span><span class="nx">max</span><span class="p">)</span> <span class="p">{</span>
		<span class="kd">var</span> <span class="nx">pow</span> <span class="o">=</span> <span class="mi">4</span><span class="p">;</span>
		<span class="k">while</span> <span class="p">(</span><span class="nb">Math</span><span class="p">.</span><span class="nx">pow</span><span class="p">(</span><span class="mi">2</span><span class="p">,</span><span class="o">++</span><span class="nx">pow</span><span class="p">)</span> <span class="o">&lt;</span> <span class="nx">size</span><span class="p">){}</span>
		<span class="k">return</span> <span class="nb">Math</span><span class="p">.</span><span class="nx">min</span><span class="p">(</span><span class="nx">max</span><span class="p">,</span><span class="nb">Math</span><span class="p">.</span><span class="nx">pow</span><span class="p">(</span><span class="mi">2</span><span class="p">,</span><span class="nx">pow</span><span class="p">));</span>
	<span class="p">}</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * @method _fillRow</span>
<span class="cm">	 * @protected</span>
<span class="cm">	 * @return {Number} The width &amp; height of the row.</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">_fillRow</span> <span class="o">=</span> <span class="kd">function</span><span class="p">(</span><span class="nx">frames</span><span class="p">,</span> <span class="nx">y</span><span class="p">,</span> <span class="nx">img</span><span class="p">,</span> <span class="nx">dataFrames</span><span class="p">,</span> <span class="nx">pad</span><span class="p">)</span> <span class="p">{</span>
		<span class="kd">var</span> <span class="nx">w</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">maxWidth</span><span class="p">;</span>
		<span class="kd">var</span> <span class="nx">maxH</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">maxHeight</span><span class="p">;</span>
		<span class="kd">var</span> <span class="nx">h</span> <span class="o">=</span> <span class="nx">maxH</span><span class="o">-</span><span class="nx">y</span><span class="p">;</span>
		<span class="kd">var</span> <span class="nx">x</span> <span class="o">=</span> <span class="nx">pad</span><span class="p">;</span>
		<span class="nx">y</span> <span class="o">+=</span> <span class="nx">pad</span><span class="p">;</span>
		<span class="kd">var</span> <span class="nx">height</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>
		<span class="k">for</span> <span class="p">(</span><span class="kd">var</span> <span class="nx">i</span><span class="o">=</span><span class="nx">frames</span><span class="p">.</span><span class="nx">length</span><span class="o">-</span><span class="mi">1</span><span class="p">;</span> <span class="nx">i</span><span class="o">&gt;=</span><span class="mi">0</span><span class="p">;</span> <span class="nx">i</span><span class="o">--</span><span class="p">)</span> <span class="p">{</span>
			<span class="kd">var</span> <span class="nx">frame</span> <span class="o">=</span> <span class="nx">frames</span><span class="p">[</span><span class="nx">i</span><span class="p">];</span>
			<span class="kd">var</span> <span class="nx">sc</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_scale</span><span class="o">*</span><span class="nx">frame</span><span class="p">.</span><span class="nx">scale</span><span class="p">;</span>
			<span class="kd">var</span> <span class="nx">rect</span> <span class="o">=</span> <span class="nx">frame</span><span class="p">.</span><span class="nx">sourceRect</span><span class="p">;</span>
			<span class="kd">var</span> <span class="nx">source</span> <span class="o">=</span> <span class="nx">frame</span><span class="p">.</span><span class="nx">source</span><span class="p">;</span>
			<span class="kd">var</span> <span class="nx">rx</span> <span class="o">=</span> <span class="nb">Math</span><span class="p">.</span><span class="nx">floor</span><span class="p">(</span><span class="nx">sc</span><span class="o">*</span><span class="nx">rect</span><span class="p">.</span><span class="nx">x</span><span class="o">-</span><span class="nx">pad</span><span class="p">);</span>
			<span class="kd">var</span> <span class="nx">ry</span> <span class="o">=</span> <span class="nb">Math</span><span class="p">.</span><span class="nx">floor</span><span class="p">(</span><span class="nx">sc</span><span class="o">*</span><span class="nx">rect</span><span class="p">.</span><span class="nx">y</span><span class="o">-</span><span class="nx">pad</span><span class="p">);</span>
			<span class="kd">var</span> <span class="nx">rh</span> <span class="o">=</span> <span class="nb">Math</span><span class="p">.</span><span class="nx">ceil</span><span class="p">(</span><span class="nx">sc</span><span class="o">*</span><span class="nx">rect</span><span class="p">.</span><span class="nx">height</span><span class="o">+</span><span class="nx">pad</span><span class="o">*</span><span class="mi">2</span><span class="p">);</span>
			<span class="kd">var</span> <span class="nx">rw</span> <span class="o">=</span> <span class="nb">Math</span><span class="p">.</span><span class="nx">ceil</span><span class="p">(</span><span class="nx">sc</span><span class="o">*</span><span class="nx">rect</span><span class="p">.</span><span class="nx">width</span><span class="o">+</span><span class="nx">pad</span><span class="o">*</span><span class="mi">2</span><span class="p">);</span>
			<span class="k">if</span> <span class="p">(</span><span class="nx">rw</span> <span class="o">&gt;</span> <span class="nx">w</span><span class="p">)</span> <span class="p">{</span> <span class="k">throw</span> <span class="nx">SpriteSheetBuilder</span><span class="p">.</span><span class="nx">ERR_DIMENSIONS</span><span class="p">;</span> <span class="p">}</span>
			<span class="k">if</span> <span class="p">(</span><span class="nx">rh</span> <span class="o">&gt;</span> <span class="nx">h</span> <span class="o">||</span> <span class="nx">x</span><span class="o">+</span><span class="nx">rw</span> <span class="o">&gt;</span> <span class="nx">w</span><span class="p">)</span> <span class="p">{</span> <span class="k">continue</span><span class="p">;</span> <span class="p">}</span>
			<span class="nx">frame</span><span class="p">.</span><span class="nx">img</span> <span class="o">=</span> <span class="nx">img</span><span class="p">;</span>
			<span class="nx">frame</span><span class="p">.</span><span class="nx">rect</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">createjs</span><span class="p">.</span><span class="nx">Rectangle</span><span class="p">(</span><span class="nx">x</span><span class="p">,</span><span class="nx">y</span><span class="p">,</span><span class="nx">rw</span><span class="p">,</span><span class="nx">rh</span><span class="p">);</span>
			<span class="nx">height</span> <span class="o">=</span> <span class="nx">height</span> <span class="o">||</span> <span class="nx">rh</span><span class="p">;</span>
			<span class="nx">frames</span><span class="p">.</span><span class="nx">splice</span><span class="p">(</span><span class="nx">i</span><span class="p">,</span><span class="mi">1</span><span class="p">);</span>
			<span class="nx">dataFrames</span><span class="p">[</span><span class="nx">frame</span><span class="p">.</span><span class="nx">index</span><span class="p">]</span> <span class="o">=</span> <span class="p">[</span><span class="nx">x</span><span class="p">,</span><span class="nx">y</span><span class="p">,</span><span class="nx">rw</span><span class="p">,</span><span class="nx">rh</span><span class="p">,</span><span class="nx">img</span><span class="p">,</span><span class="nb">Math</span><span class="p">.</span><span class="nx">round</span><span class="p">(</span><span class="o">-</span><span class="nx">rx</span><span class="o">+</span><span class="nx">sc</span><span class="o">*</span><span class="nx">source</span><span class="p">.</span><span class="nx">regX</span><span class="o">-</span><span class="nx">pad</span><span class="p">),</span><span class="nb">Math</span><span class="p">.</span><span class="nx">round</span><span class="p">(</span><span class="o">-</span><span class="nx">ry</span><span class="o">+</span><span class="nx">sc</span><span class="o">*</span><span class="nx">source</span><span class="p">.</span><span class="nx">regY</span><span class="o">-</span><span class="nx">pad</span><span class="p">)];</span>
			<span class="nx">x</span> <span class="o">+=</span> <span class="nx">rw</span><span class="p">;</span>
		<span class="p">}</span>
		<span class="k">return</span> <span class="p">{</span><span class="nx">w</span><span class="o">:</span><span class="nx">x</span><span class="p">,</span> <span class="nx">h</span><span class="o">:</span><span class="nx">height</span><span class="p">};</span>
	<span class="p">}</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * @method _endBuild</span>
<span class="cm">	 * @protected</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">_endBuild</span> <span class="o">=</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
		<span class="k">this</span><span class="p">.</span><span class="nx">spriteSheet</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">createjs</span><span class="p">.</span><span class="nx">SpriteSheet</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_data</span><span class="p">);</span>
		<span class="k">this</span><span class="p">.</span><span class="nx">_data</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
		<span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_callback</span><span class="p">)</span> <span class="p">{</span> <span class="k">this</span><span class="p">.</span><span class="nx">_callback</span><span class="p">(</span><span class="k">this</span><span class="p">);</span> <span class="p">}</span>
	<span class="p">}</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * @method _run</span>
<span class="cm">	 * @protected</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">_run</span> <span class="o">=</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
		<span class="kd">var</span> <span class="nx">t</span> <span class="o">=</span> <span class="p">(</span><span class="k">new</span> <span class="nb">Date</span><span class="p">()).</span><span class="nx">getTime</span><span class="p">()</span><span class="o">+</span><span class="k">this</span><span class="p">.</span><span class="nx">_timeSlice</span><span class="p">;</span>
		<span class="kd">var</span> <span class="nx">complete</span> <span class="o">=</span> <span class="kc">false</span><span class="p">;</span>
		<span class="k">while</span> <span class="p">(</span><span class="nx">t</span> <span class="o">&gt;</span> <span class="p">(</span><span class="k">new</span> <span class="nb">Date</span><span class="p">()).</span><span class="nx">getTime</span><span class="p">())</span> <span class="p">{</span>
			<span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="k">this</span><span class="p">.</span><span class="nx">_drawNext</span><span class="p">())</span> <span class="p">{</span> <span class="nx">complete</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span> <span class="k">break</span><span class="p">;</span> <span class="p">}</span>
		<span class="p">}</span>
		<span class="k">if</span> <span class="p">(</span><span class="nx">complete</span><span class="p">)</span> <span class="p">{</span>
			<span class="k">this</span><span class="p">.</span><span class="nx">_endBuild</span><span class="p">();</span>
		<span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
			<span class="kd">var</span> <span class="nx">_this</span> <span class="o">=</span> <span class="k">this</span><span class="p">;</span>
			<span class="k">this</span><span class="p">.</span><span class="nx">_timerID</span> <span class="o">=</span> <span class="nx">setTimeout</span><span class="p">(</span><span class="kd">function</span><span class="p">()</span> <span class="p">{</span> <span class="nx">_this</span><span class="p">.</span><span class="nx">_run</span><span class="p">();</span> <span class="p">},</span> <span class="mi">50</span><span class="o">-</span><span class="k">this</span><span class="p">.</span><span class="nx">_timeSlice</span><span class="p">);</span>
		<span class="p">}</span>
	<span class="p">}</span>
	
	<span class="cm">/**</span>
<span class="cm">	 * @method _drawNext</span>
<span class="cm">	 * @protected</span>
<span class="cm">	 * @return Boolean Returns false if this is the last draw.</span>
<span class="cm">	 **/</span>
	<span class="nx">p</span><span class="p">.</span><span class="nx">_drawNext</span> <span class="o">=</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
		<span class="kd">var</span> <span class="nx">frame</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_frames</span><span class="p">[</span><span class="k">this</span><span class="p">.</span><span class="nx">_index</span><span class="p">];</span>
		<span class="kd">var</span> <span class="nx">sc</span> <span class="o">=</span> <span class="nx">frame</span><span class="p">.</span><span class="nx">scale</span><span class="o">*</span><span class="k">this</span><span class="p">.</span><span class="nx">_scale</span><span class="p">;</span>
		<span class="kd">var</span> <span class="nx">rect</span> <span class="o">=</span> <span class="nx">frame</span><span class="p">.</span><span class="nx">rect</span><span class="p">;</span>
		<span class="kd">var</span> <span class="nx">sourceRect</span> <span class="o">=</span> <span class="nx">frame</span><span class="p">.</span><span class="nx">sourceRect</span><span class="p">;</span>
		<span class="kd">var</span> <span class="nx">canvas</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_data</span><span class="p">.</span><span class="nx">images</span><span class="p">[</span><span class="nx">frame</span><span class="p">.</span><span class="nx">img</span><span class="p">];</span>
		<span class="kd">var</span> <span class="nx">ctx</span> <span class="o">=</span> <span class="nx">canvas</span><span class="p">.</span><span class="nx">getContext</span><span class="p">(</span><span class="s2">&quot;2d&quot;</span><span class="p">);</span>
		<span class="nx">frame</span><span class="p">.</span><span class="nx">funct</span><span class="o">&amp;&amp;</span><span class="nx">frame</span><span class="p">.</span><span class="nx">funct</span><span class="p">.</span><span class="nx">apply</span><span class="p">(</span><span class="nx">frame</span><span class="p">.</span><span class="nx">scope</span><span class="p">,</span> <span class="nx">frame</span><span class="p">.</span><span class="nx">params</span><span class="p">);</span>
		<span class="nx">ctx</span><span class="p">.</span><span class="nx">save</span><span class="p">();</span>
		<span class="nx">ctx</span><span class="p">.</span><span class="nx">beginPath</span><span class="p">();</span>
		<span class="nx">ctx</span><span class="p">.</span><span class="nx">rect</span><span class="p">(</span><span class="nx">rect</span><span class="p">.</span><span class="nx">x</span><span class="p">,</span> <span class="nx">rect</span><span class="p">.</span><span class="nx">y</span><span class="p">,</span> <span class="nx">rect</span><span class="p">.</span><span class="nx">width</span><span class="p">,</span> <span class="nx">rect</span><span class="p">.</span><span class="nx">height</span><span class="p">);</span>
		<span class="nx">ctx</span><span class="p">.</span><span class="nx">clip</span><span class="p">();</span>
		<span class="nx">ctx</span><span class="p">.</span><span class="nx">translate</span><span class="p">(</span><span class="nb">Math</span><span class="p">.</span><span class="nx">ceil</span><span class="p">(</span><span class="nx">rect</span><span class="p">.</span><span class="nx">x</span><span class="o">-</span><span class="nx">sourceRect</span><span class="p">.</span><span class="nx">x</span><span class="o">*</span><span class="nx">sc</span><span class="p">),</span> <span class="nb">Math</span><span class="p">.</span><span class="nx">ceil</span><span class="p">(</span><span class="nx">rect</span><span class="p">.</span><span class="nx">y</span><span class="o">-</span><span class="nx">sourceRect</span><span class="p">.</span><span class="nx">y</span><span class="o">*</span><span class="nx">sc</span><span class="p">));</span>
		<span class="nx">ctx</span><span class="p">.</span><span class="nx">scale</span><span class="p">(</span><span class="nx">sc</span><span class="p">,</span><span class="nx">sc</span><span class="p">);</span>
		<span class="nx">frame</span><span class="p">.</span><span class="nx">source</span><span class="p">.</span><span class="nx">draw</span><span class="p">(</span><span class="nx">ctx</span><span class="p">);</span> <span class="c1">// display object will draw itself.</span>
		<span class="nx">ctx</span><span class="p">.</span><span class="nx">restore</span><span class="p">();</span>
		<span class="k">return</span> <span class="p">(</span><span class="o">++</span><span class="k">this</span><span class="p">.</span><span class="nx">_index</span><span class="p">)</span> <span class="o">&lt;</span> <span class="k">this</span><span class="p">.</span><span class="nx">_frames</span><span class="p">.</span><span class="nx">length</span><span class="p">;</span>
	<span class="p">}</span>

<span class="nx">createjs</span><span class="p">.</span><span class="nx">SpriteSheetBuilder</span> <span class="o">=</span> <span class="nx">SpriteSheetBuilder</span><span class="p">;</span>
<span class="p">}());</span>
</pre></div>
                    </div>
			</div>
		</div>
		<div class="yui-b">
            <div class="nav">

                    <div id="moduleList" class="module">
                        <h4>Modules</h4>
                        <ul class="content">
                                <li class="selected"><a href="module_EaselJS.html" title="EaselJS">EaselJS</a></li>
                        </ul>
                    </div>

                    <div id="classList" class="module">
                        <h4>Classes</h4>
                        <ul class="content">
                                <li class=""><a href="AlphaMapFilter.html" title="AlphaMapFilter">AlphaMapFilter</a></li>
                                <li class=""><a href="AlphaMaskFilter.html" title="AlphaMaskFilter">AlphaMaskFilter</a></li>
                                <li class=""><a href="Bitmap.html" title="Bitmap">Bitmap</a></li>
                                <li class=""><a href="BitmapAnimation.html" title="BitmapAnimation">BitmapAnimation</a></li>
                                <li class=""><a href="BoxBlurFilter.html" title="BoxBlurFilter">BoxBlurFilter</a></li>
                                <li class=""><a href="ColorFilter.html" title="ColorFilter">ColorFilter</a></li>
                                <li class=""><a href="ColorMatrix.html" title="ColorMatrix">ColorMatrix</a></li>
                                <li class=""><a href="ColorMatrixFilter.html" title="ColorMatrixFilter">ColorMatrixFilter</a></li>
                                <li class=""><a href="Command.html" title="Command">Command</a></li>
                                <li class=""><a href="Container.html" title="Container">Container</a></li>
                                <li class=""><a href="DisplayObject.html" title="DisplayObject">DisplayObject</a></li>
                                <li class=""><a href="DOMElement.html" title="DOMElement">DOMElement</a></li>
                                <li class=""><a href="Filter.html" title="Filter">Filter</a></li>
                                <li class=""><a href="Graphics.html" title="Graphics">Graphics</a></li>
                                <li class=""><a href="Matrix2D.html" title="Matrix2D">Matrix2D</a></li>
                                <li class=""><a href="MouseEvent.html" title="MouseEvent">MouseEvent</a></li>
                                <li class=""><a href="MovieClip.html" title="MovieClip">MovieClip</a></li>
                                <li class=""><a href="Point.html" title="Point">Point</a></li>
                                <li class=""><a href="Rectangle.html" title="Rectangle">Rectangle</a></li>
                                <li class=""><a href="Shadow.html" title="Shadow">Shadow</a></li>
                                <li class=""><a href="Shape.html" title="Shape">Shape</a></li>
                                <li class=""><a href="SpriteSheet.html" title="SpriteSheet">SpriteSheet</a></li>
                                <li class=""><a href="SpriteSheetBuilder.html" title="SpriteSheetBuilder">SpriteSheetBuilder</a></li>
                                <li class=""><a href="SpriteSheetUtils.html" title="SpriteSheetUtils">SpriteSheetUtils</a></li>
                                <li class=""><a href="Stage.html" title="Stage">Stage</a></li>
                                <li class=""><a href="Text.html" title="Text">Text</a></li>
                                <li class=""><a href="Ticker.html" title="Ticker">Ticker</a></li>
                                <li class=""><a href="Touch.html" title="Touch">Touch</a></li>
                                <li class=""><a href="UID.html" title="UID">UID</a></li>
                        </ul>
                    </div>

                    <div id="fileList" class="module">
                        <h4>Files</h4>
                        <ul class="content">        
                                <li class=""><a href="AlphaMapFilter.js.html" title="AlphaMapFilter.js">AlphaMapFilter.js</a></li>
                                <li class=""><a href="AlphaMaskFilter.js.html" title="AlphaMaskFilter.js">AlphaMaskFilter.js</a></li>
                                <li class=""><a href="Bitmap.js.html" title="Bitmap.js">Bitmap.js</a></li>
                                <li class=""><a href="BitmapAnimation.js.html" title="BitmapAnimation.js">BitmapAnimation.js</a></li>
                                <li class=""><a href="BoxBlurFilter.js.html" title="BoxBlurFilter.js">BoxBlurFilter.js</a></li>
                                <li class=""><a href="ColorFilter.js.html" title="ColorFilter.js">ColorFilter.js</a></li>
                                <li class=""><a href="ColorMatrix.js.html" title="ColorMatrix.js">ColorMatrix.js</a></li>
                                <li class=""><a href="ColorMatrixFilter.js.html" title="ColorMatrixFilter.js">ColorMatrixFilter.js</a></li>
                                <li class=""><a href="Container.js.html" title="Container.js">Container.js</a></li>
                                <li class=""><a href="DisplayObject.js.html" title="DisplayObject.js">DisplayObject.js</a></li>
                                <li class=""><a href="DOMElement.js.html" title="DOMElement.js">DOMElement.js</a></li>
                                <li class=""><a href="Filter.js.html" title="Filter.js">Filter.js</a></li>
                                <li class=""><a href="Graphics.js.html" title="Graphics.js">Graphics.js</a></li>
                                <li class=""><a href="Matrix2D.js.html" title="Matrix2D.js">Matrix2D.js</a></li>
                                <li class=""><a href="MouseEvent.js.html" title="MouseEvent.js">MouseEvent.js</a></li>
                                <li class=""><a href="MovieClip.js.html" title="MovieClip.js">MovieClip.js</a></li>
                                <li class=""><a href="Point.js.html" title="Point.js">Point.js</a></li>
                                <li class=""><a href="Rectangle.js.html" title="Rectangle.js">Rectangle.js</a></li>
                                <li class=""><a href="Shadow.js.html" title="Shadow.js">Shadow.js</a></li>
                                <li class=""><a href="Shape.js.html" title="Shape.js">Shape.js</a></li>
                                <li class=""><a href="SpriteSheet.js.html" title="SpriteSheet.js">SpriteSheet.js</a></li>
                                <li class="selected"><a href="SpriteSheetBuilder.js.html" title="SpriteSheetBuilder.js">SpriteSheetBuilder.js</a></li>
                                <li class=""><a href="SpriteSheetUtils.js.html" title="SpriteSheetUtils.js">SpriteSheetUtils.js</a></li>
                                <li class=""><a href="Stage.js.html" title="Stage.js">Stage.js</a></li>
                                <li class=""><a href="Text.js.html" title="Text.js">Text.js</a></li>
                                <li class=""><a href="Ticker.js.html" title="Ticker.js">Ticker.js</a></li>
                                <li class=""><a href="Touch.js.html" title="Touch.js">Touch.js</a></li>
                                <li class=""><a href="UID.js.html" title="UID.js">UID.js</a></li>
                        </ul>
                    </div>





            </div>
		</div>
	</div>
	
	<!--footer-->
	<!--
	<div id="ft">
        <hr />
	</div>
	-->
</div>
<script type="text/javascript">
    ALL_YUI_PROPS = [{"url": "Graphics.html#property_a", "access": "protected", "host": "Graphics", "type": "property", "name": "a"}, {"url": "Matrix2D.html#property_a", "access": "", "host": "Matrix2D", "type": "property", "name": "a"}, {"url": "MovieClip.html#property_actionsEnabled", "access": "", "host": "MovieClip", "type": "property", "name": "actionsEnabled"}, {"url": "Graphics.html#property__active", "access": "protected", "host": "Graphics", "type": "property", "name": "_active"}, {"url": "Graphics.html#property__activeInstructions", "access": "protected", "host": "Graphics", "type": "property", "name": "_activeInstructions"}, {"url": "Container.html#method_addChild", "access": "", "host": "Container", "type": "method", "name": "addChild"}, {"url": "Container.html#method_addChildAt", "access": "", "host": "Container", "type": "method", "name": "addChildAt"}, {"url": "SpriteSheetBuilder.html#method_addFrame", "access": "", "host": "SpriteSheetBuilder", "type": "method", "name": "addFrame"}, {"url": "Ticker.html#method_addListener", "access": "", "host": "Ticker", "type": "method", "name": "addListener"}, {"url": "SpriteSheetBuilder.html#method_addMovieClip", "access": "", "host": "SpriteSheetBuilder", "type": "method", "name": "addMovieClip"}, {"url": "ColorMatrix.html#method_adjustBrightness", "access": "", "host": "ColorMatrix", "type": "method", "name": "adjustBrightness"}, {"url": "ColorMatrix.html#method_adjustColor", "access": "", "host": "ColorMatrix", "type": "method", "name": "adjustColor"}, {"url": "ColorMatrix.html#method_adjustContrast", "access": "", "host": "ColorMatrix", "type": "method", "name": "adjustContrast"}, {"url": "ColorMatrix.html#method_adjustHue", "access": "", "host": "ColorMatrix", "type": "method", "name": "adjustHue"}, {"url": "ColorMatrix.html#method_adjustSaturation", "access": "", "host": "ColorMatrix", "type": "method", "name": "adjustSaturation"}, {"url": "BitmapAnimation.html#method_advance", "access": "", "host": "BitmapAnimation", "type": "method", "name": "advance"}, {"url": "BitmapAnimation.html#property__advanceCount", "access": "protected", "host": "BitmapAnimation", "type": "property", "name": "_advanceCount"}, {"url": "DisplayObject.html#property_alpha", "access": "", "host": "DisplayObject", "type": "property", "name": "alpha"}, {"url": "Matrix2D.html#property_alpha", "access": "", "host": "Matrix2D", "type": "property", "name": "alpha"}, {"url": "AlphaMapFilter.html#property_alphaMap", "access": "", "host": "AlphaMapFilter", "type": "property", "name": "alphaMap"}, {"url": "ColorFilter.html#property_alphaOffset", "access": "", "host": "ColorFilter", "type": "property", "name": "alphaOffset"}, {"url": "BitmapAnimation.html#property__animation", "access": "protected", "host": "BitmapAnimation", "type": "property", "name": "_animation"}, {"url": "SpriteSheet.html#property__animations", "access": "protected", "host": "SpriteSheet", "type": "property", "name": "_animations"}, {"url": "SpriteSheetBuilder.html#property__animations", "access": "protected", "host": "SpriteSheetBuilder", "type": "property", "name": "_animations"}, {"url": "Matrix2D.html#method_append", "access": "", "host": "Matrix2D", "type": "method", "name": "append"}, {"url": "Matrix2D.html#method_appendMatrix", "access": "", "host": "Matrix2D", "type": "method", "name": "appendMatrix"}, {"url": "Matrix2D.html#method_appendProperties", "access": "", "host": "Matrix2D", "type": "method", "name": "appendProperties"}, {"url": "Matrix2D.html#method_appendTransform", "access": "", "host": "Matrix2D", "type": "method", "name": "appendTransform"}, {"url": "AlphaMapFilter.html#method_applyFilter", "access": "", "host": "AlphaMapFilter", "type": "method", "name": "applyFilter"}, {"url": "AlphaMaskFilter.html#method_applyFilter", "access": "", "host": "AlphaMaskFilter", "type": "method", "name": "applyFilter"}, {"url": "BoxBlurFilter.html#method_applyFilter", "access": "", "host": "BoxBlurFilter", "type": "method", "name": "applyFilter"}, {"url": "ColorFilter.html#method_applyFilter", "access": "", "host": "ColorFilter", "type": "method", "name": "applyFilter"}, {"url": "ColorMatrixFilter.html#method_applyFilter", "access": "", "host": "ColorMatrixFilter", "type": "method", "name": "applyFilter"}, {"url": "Filter.html#method_applyFilter", "access": "", "host": "Filter", "type": "method", "name": "applyFilter"}, {"url": "DisplayObject.html#method__applyFilters", "access": "protected", "host": "DisplayObject", "type": "method", "name": "_applyFilters"}, {"url": "DisplayObject.html#method__applyShadow", "access": "protected", "host": "DisplayObject", "type": "method", "name": "_applyShadow"}, {"url": "Graphics.html#method_arc", "access": "", "host": "Graphics", "type": "method", "name": "arc"}, {"url": "Graphics.html#method_arcTo", "access": "", "host": "Graphics", "type": "method", "name": "arcTo"}, {"url": "Graphics.html#property_at", "access": "protected", "host": "Graphics", "type": "property", "name": "at"}, {"url": "Matrix2D.html#property_atx", "access": "", "host": "Matrix2D", "type": "property", "name": "atx"}, {"url": "Stage.html#property_autoClear", "access": "", "host": "Stage", "type": "property", "name": "autoClear"}, {"url": "Matrix2D.html#property_b", "access": "", "host": "Matrix2D", "type": "property", "name": "b"}, {"url": "Graphics.html#property_BASE_64", "access": "", "host": "Graphics", "type": "property", "name": "BASE_64"}, {"url": "Graphics.html#method_beginBitmapFill", "access": "", "host": "Graphics", "type": "method", "name": "beginBitmapFill"}, {"url": "Graphics.html#method_beginBitmapStroke", "access": "", "host": "Graphics", "type": "method", "name": "beginBitmapStroke"}, {"url": "Graphics.html#property_beginCmd", "access": "protected", "host": "Graphics", "type": "property", "name": "beginCmd"}, {"url": "Graphics.html#method_beginFill", "access": "", "host": "Graphics", "type": "method", "name": "beginFill"}, {"url": "Graphics.html#method_beginLinearGradientFill", "access": "", "host": "Graphics", "type": "method", "name": "beginLinearGradientFill"}, {"url": "Graphics.html#method_beginLinearGradientStroke", "access": "", "host": "Graphics", "type": "method", "name": "beginLinearGradientStroke"}, {"url": "Graphics.html#method_beginRadialGradientFill", "access": "", "host": "Graphics", "type": "method", "name": "beginRadialGradientFill"}, {"url": "Graphics.html#method_beginRadialGradientStroke", "access": "", "host": "Graphics", "type": "method", "name": "beginRadialGradientStroke"}, {"url": "Graphics.html#method_beginStroke", "access": "", "host": "Graphics", "type": "method", "name": "beginStroke"}, {"url": "Graphics.html#method_bezierCurveTo", "access": "", "host": "Graphics", "type": "method", "name": "bezierCurveTo"}, {"url": "Graphics.html#property_bf", "access": "protected", "host": "Graphics", "type": "property", "name": "bf"}, {"url": "ColorFilter.html#property_blueMultiplier", "access": "", "host": "ColorFilter", "type": "property", "name": "blueMultiplier"}, {"url": "ColorFilter.html#property_blueOffset", "access": "", "host": "ColorFilter", "type": "property", "name": "blueOffset"}, {"url": "Shadow.html#property_blur", "access": "", "host": "Shadow", "type": "property", "name": "blur"}, {"url": "BoxBlurFilter.html#property_blurX", "access": "", "host": "BoxBlurFilter", "type": "property", "name": "blurX"}, {"url": "BoxBlurFilter.html#property_blurY", "access": "", "host": "BoxBlurFilter", "type": "property", "name": "blurY"}, {"url": "Graphics.html#property_bs", "access": "protected", "host": "Graphics", "type": "property", "name": "bs"}, {"url": "Graphics.html#property_bt", "access": "protected", "host": "Graphics", "type": "property", "name": "bt"}, {"url": "SpriteSheetBuilder.html#method_build", "access": "", "host": "SpriteSheetBuilder", "type": "method", "name": "build"}, {"url": "SpriteSheetBuilder.html#method_buildAsync", "access": "", "host": "SpriteSheetBuilder", "type": "method", "name": "buildAsync"}, {"url": "Graphics.html#property_c", "access": "protected", "host": "Graphics", "type": "property", "name": "c"}, {"url": "Matrix2D.html#property_c", "access": "", "host": "Matrix2D", "type": "property", "name": "c"}, {"url": "Bitmap.html#method_cache", "access": "", "host": "Bitmap", "type": "method", "name": "cache"}, {"url": "BitmapAnimation.html#method_cache", "access": "", "host": "BitmapAnimation", "type": "method", "name": "cache"}, {"url": "DisplayObject.html#method_cache", "access": "", "host": "DisplayObject", "type": "method", "name": "cache"}, {"url": "DOMElement.html#method_cache", "access": "", "host": "DOMElement", "type": "method", "name": "cache"}, {"url": "DisplayObject.html#property_cacheCanvas", "access": "", "host": "DisplayObject", "type": "property", "name": "cacheCanvas"}, {"url": "DisplayObject.html#property__cacheDataURL", "access": "protected", "host": "DisplayObject", "type": "property", "name": "_cacheDataURL"}, {"url": "DisplayObject.html#property__cacheDataURLID", "access": "protected", "host": "DisplayObject", "type": "property", "name": "_cacheDataURLID"}, {"url": "DisplayObject.html#property_cacheID", "access": "", "host": "DisplayObject", "type": "property", "name": "cacheID"}, {"url": "DisplayObject.html#property__cacheOffsetX", "access": "protected", "host": "DisplayObject", "type": "property", "name": "_cacheOffsetX"}, {"url": "DisplayObject.html#property__cacheOffsetY", "access": "protected", "host": "DisplayObject", "type": "property", "name": "_cacheOffsetY"}, {"url": "DisplayObject.html#property__cacheScale", "access": "protected", "host": "DisplayObject", "type": "property", "name": "_cacheScale"}, {"url": "SpriteSheet.html#method__calculateFrames", "access": "protected", "host": "SpriteSheet", "type": "method", "name": "_calculateFrames"}, {"url": "SpriteSheetBuilder.html#property__callback", "access": "protected", "host": "SpriteSheetBuilder", "type": "property", "name": "_callback"}, {"url": "Stage.html#property_canvas", "access": "", "host": "Stage", "type": "property", "name": "canvas"}, {"url": "Container.html#property_children", "access": "", "host": "Container", "type": "property", "name": "children"}, {"url": "ColorMatrix.html#method__cleanValue", "access": "protected", "host": "ColorMatrix", "type": "method", "name": "_cleanValue"}, {"url": "Graphics.html#method_clear", "access": "", "host": "Graphics", "type": "method", "name": "clear"}, {"url": "Stage.html#method_clear", "access": "", "host": "Stage", "type": "method", "name": "clear"}, {"url": "Bitmap.html#method_clone", "access": "", "host": "Bitmap", "type": "method", "name": "clone"}, {"url": "BitmapAnimation.html#method_clone", "access": "", "host": "BitmapAnimation", "type": "method", "name": "clone"}, {"url": "Container.html#method_clone", "access": "", "host": "Container", "type": "method", "name": "clone"}, {"url": "DisplayObject.html#method_clone", "access": "", "host": "DisplayObject", "type": "method", "name": "clone"}, {"url": "DOMElement.html#method_clone", "access": "", "host": "DOMElement", "type": "method", "name": "clone"}, {"url": "Graphics.html#method_clone", "access": "", "host": "Graphics", "type": "method", "name": "clone"}, {"url": "MovieClip.html#method_clone", "access": "", "host": "MovieClip", "type": "method", "name": "clone"}, {"url": "Shadow.html#method_clone", "access": "", "host": "Shadow", "type": "method", "name": "clone"}, {"url": "Shape.html#method_clone", "access": "", "host": "Shape", "type": "method", "name": "clone"}, {"url": "SpriteSheet.html#method_clone", "access": "", "host": "SpriteSheet", "type": "method", "name": "clone"}, {"url": "Stage.html#method_clone", "access": "", "host": "Stage", "type": "method", "name": "clone"}, {"url": "Text.html#method_clone", "access": "", "host": "Text", "type": "method", "name": "clone"}, {"url": "MouseEvent.html#method_clone", "access": "", "host": "MouseEvent", "type": "method", "name": "clone"}, {"url": "AlphaMapFilter.html#method_clone", "access": "", "host": "AlphaMapFilter", "type": "method", "name": "clone"}, {"url": "AlphaMaskFilter.html#method_clone", "access": "", "host": "AlphaMaskFilter", "type": "method", "name": "clone"}, {"url": "BoxBlurFilter.html#method_clone", "access": "", "host": "BoxBlurFilter", "type": "method", "name": "clone"}, {"url": "ColorFilter.html#method_clone", "access": "", "host": "ColorFilter", "type": "method", "name": "clone"}, {"url": "ColorMatrix.html#method_clone", "access": "", "host": "ColorMatrix", "type": "method", "name": "clone"}, {"url": "ColorMatrixFilter.html#method_clone", "access": "", "host": "ColorMatrixFilter", "type": "method", "name": "clone"}, {"url": "Filter.html#method_clone", "access": "", "host": "Filter", "type": "method", "name": "clone"}, {"url": "Matrix2D.html#method_clone", "access": "", "host": "Matrix2D", "type": "method", "name": "clone"}, {"url": "Point.html#method_clone", "access": "", "host": "Point", "type": "method", "name": "clone"}, {"url": "Rectangle.html#method_clone", "access": "", "host": "Rectangle", "type": "method", "name": "clone"}, {"url": "SpriteSheetBuilder.html#method_clone", "access": "", "host": "SpriteSheetBuilder", "type": "method", "name": "clone"}, {"url": "BitmapAnimation.html#method_cloneProps", "access": "protected", "host": "BitmapAnimation", "type": "method", "name": "cloneProps"}, {"url": "DisplayObject.html#method_cloneProps", "access": "protected", "host": "DisplayObject", "type": "method", "name": "cloneProps"}, {"url": "Text.html#method_cloneProps", "access": "protected", "host": "Text", "type": "method", "name": "cloneProps"}, {"url": "Graphics.html#method_closePath", "access": "", "host": "Graphics", "type": "method", "name": "closePath"}, {"url": "Shadow.html#property_color", "access": "", "host": "Shadow", "type": "property", "name": "color"}, {"url": "Text.html#property_color", "access": "", "host": "Text", "type": "property", "name": "color"}, {"url": "SpriteSheet.html#property_complete", "access": "", "host": "SpriteSheet", "type": "property", "name": "complete"}, {"url": "DisplayObject.html#property_compositeOperation", "access": "", "host": "DisplayObject", "type": "property", "name": "compositeOperation"}, {"url": "Matrix2D.html#property_compositeOperation", "access": "", "host": "Matrix2D", "type": "property", "name": "compositeOperation"}, {"url": "ColorMatrix.html#method_concat", "access": "", "host": "ColorMatrix", "type": "method", "name": "concat"}, {"url": "Container.html#method_contains", "access": "", "host": "Container", "type": "method", "name": "contains"}, {"url": "ColorMatrix.html#method_copyMatrix", "access": "", "host": "ColorMatrix", "type": "method", "name": "copyMatrix"}, {"url": "Graphics.html#property_cp", "access": "protected", "host": "Graphics", "type": "property", "name": "cp"}, {"url": "Graphics.html#property__ctx", "access": "protected", "host": "Graphics", "type": "property", "name": "_ctx"}, {"url": "BitmapAnimation.html#property_currentAnimation", "access": "", "host": "BitmapAnimation", "type": "property", "name": "currentAnimation"}, {"url": "BitmapAnimation.html#property_currentAnimationFrame", "access": "", "host": "BitmapAnimation", "type": "property", "name": "currentAnimationFrame"}, {"url": "BitmapAnimation.html#property_currentFrame", "access": "", "host": "BitmapAnimation", "type": "property", "name": "currentFrame"}, {"url": "Graphics.html#property_curveTo", "access": "", "host": "Graphics", "type": "property", "name": "curveTo"}, {"url": "Matrix2D.html#property_d", "access": "", "host": "Matrix2D", "type": "property", "name": "d"}, {"url": "SpriteSheet.html#property__data", "access": "protected", "host": "SpriteSheet", "type": "property", "name": "_data"}, {"url": "SpriteSheetBuilder.html#property__data", "access": "protected", "host": "SpriteSheetBuilder", "type": "property", "name": "_data"}, {"url": "Graphics.html#property_dc", "access": "protected", "host": "Graphics", "type": "property", "name": "dc"}, {"url": "Graphics.html#property_de", "access": "protected", "host": "Graphics", "type": "property", "name": "de"}, {"url": "Graphics.html#method_decodePath", "access": "", "host": "Graphics", "type": "method", "name": "decodePath"}, {"url": "Matrix2D.html#method_decompose", "access": "", "host": "Matrix2D", "type": "method", "name": "decompose"}, {"url": "SpriteSheetBuilder.html#property_defaultScale", "access": "", "host": "SpriteSheetBuilder", "type": "property", "name": "defaultScale"}, {"url": "Matrix2D.html#property_DEG_TO_RAD", "access": "", "host": "Matrix2D", "type": "property", "name": "DEG_TO_RAD"}, {"url": "ColorMatrix.html#property_DELTA_INDEX", "access": "", "host": "ColorMatrix", "type": "property", "name": "DELTA_INDEX"}, {"url": "Graphics.html#property__dirty", "access": "protected", "host": "Graphics", "type": "property", "name": "_dirty"}, {"url": "Touch.html#method_disable", "access": "", "host": "Touch", "type": "method", "name": "disable"}, {"url": "Graphics.html#property_dp", "access": "protected", "host": "Graphics", "type": "property", "name": "dp"}, {"url": "Graphics.html#property_dr", "access": "protected", "host": "Graphics", "type": "property", "name": "dr"}, {"url": "Bitmap.html#method_draw", "access": "", "host": "Bitmap", "type": "method", "name": "draw"}, {"url": "BitmapAnimation.html#method_draw", "access": "", "host": "BitmapAnimation", "type": "method", "name": "draw"}, {"url": "Container.html#method_draw", "access": "", "host": "Container", "type": "method", "name": "draw"}, {"url": "DisplayObject.html#method_draw", "access": "", "host": "DisplayObject", "type": "method", "name": "draw"}, {"url": "DOMElement.html#method_draw", "access": "", "host": "DOMElement", "type": "method", "name": "draw"}, {"url": "Graphics.html#method_draw", "access": "", "host": "Graphics", "type": "method", "name": "draw"}, {"url": "MovieClip.html#method_draw", "access": "", "host": "MovieClip", "type": "method", "name": "draw"}, {"url": "Shape.html#method_draw", "access": "", "host": "Shape", "type": "method", "name": "draw"}, {"url": "Text.html#method_draw", "access": "", "host": "Text", "type": "method", "name": "draw"}, {"url": "Graphics.html#method_drawAsPath", "access": "", "host": "Graphics", "type": "method", "name": "drawAsPath"}, {"url": "Graphics.html#method_drawCircle", "access": "", "host": "Graphics", "type": "method", "name": "drawCircle"}, {"url": "Graphics.html#method_drawEllipse", "access": "", "host": "Graphics", "type": "method", "name": "drawEllipse"}, {"url": "SpriteSheetBuilder.html#method__drawNext", "access": "protected", "host": "SpriteSheetBuilder", "type": "method", "name": "_drawNext"}, {"url": "Graphics.html#method_drawPolyStar", "access": "", "host": "Graphics", "type": "method", "name": "drawPolyStar"}, {"url": "Graphics.html#property_drawRect", "access": "", "host": "Graphics", "type": "property", "name": "drawRect"}, {"url": "Graphics.html#method_drawRoundRect", "access": "", "host": "Graphics", "type": "method", "name": "drawRoundRect"}, {"url": "Graphics.html#method_drawRoundRectComplex", "access": "", "host": "Graphics", "type": "method", "name": "drawRoundRectComplex"}, {"url": "Text.html#method__drawTextLine", "access": "protected", "host": "Text", "type": "method", "name": "_drawTextLine"}, {"url": "Graphics.html#property_ef", "access": "protected", "host": "Graphics", "type": "property", "name": "ef"}, {"url": "Touch.html#method_enable", "access": "", "host": "Touch", "type": "method", "name": "enable"}, {"url": "Stage.html#method__enableMouseEvents", "access": "protected", "host": "Stage", "type": "method", "name": "_enableMouseEvents"}, {"url": "Stage.html#method_enableMouseOver", "access": "", "host": "Stage", "type": "method", "name": "enableMouseOver"}, {"url": "SpriteSheetBuilder.html#method__endBuild", "access": "protected", "host": "SpriteSheetBuilder", "type": "method", "name": "_endBuild"}, {"url": "Graphics.html#method_endFill", "access": "", "host": "Graphics", "type": "method", "name": "endFill"}, {"url": "Graphics.html#method_endStroke", "access": "", "host": "Graphics", "type": "method", "name": "endStroke"}, {"url": "Graphics.html#property_es", "access": "protected", "host": "Graphics", "type": "property", "name": "es"}, {"url": "Command.html#method_exec", "access": "", "host": "Command", "type": "method", "name": "exec"}, {"url": "SpriteSheetUtils.html#method_extractFrame", "access": "", "host": "SpriteSheetUtils", "type": "method", "name": "extractFrame"}, {"url": "Graphics.html#property_f", "access": "protected", "host": "Graphics", "type": "property", "name": "f"}, {"url": "Graphics.html#property_fillCmd", "access": "protected", "host": "Graphics", "type": "property", "name": "fillCmd"}, {"url": "Graphics.html#property__fillInstructions", "access": "protected", "host": "Graphics", "type": "property", "name": "_fillInstructions"}, {"url": "SpriteSheetBuilder.html#method__fillRow", "access": "protected", "host": "SpriteSheetBuilder", "type": "method", "name": "_fillRow"}, {"url": "DisplayObject.html#property_filters", "access": "", "host": "DisplayObject", "type": "property", "name": "filters"}, {"url": "ColorMatrix.html#method__fixMatrix", "access": "protected", "host": "ColorMatrix", "type": "method", "name": "_fixMatrix"}, {"url": "SpriteSheetUtils.html#method_flip", "access": "", "host": "SpriteSheetUtils", "type": "method", "name": "flip"}, {"url": "Text.html#property_font", "access": "", "host": "Text", "type": "property", "name": "font"}, {"url": "SpriteSheet.html#property__frameHeight", "access": "protected", "host": "SpriteSheet", "type": "property", "name": "_frameHeight"}, {"url": "SpriteSheet.html#property__frames", "access": "protected", "host": "SpriteSheet", "type": "property", "name": "_frames"}, {"url": "SpriteSheetBuilder.html#property__frames", "access": "protected", "host": "SpriteSheetBuilder", "type": "property", "name": "_frames"}, {"url": "SpriteSheet.html#property__frameWidth", "access": "protected", "host": "SpriteSheet", "type": "property", "name": "_frameWidth"}, {"url": "UID.html#method_get", "access": "", "host": "UID", "type": "method", "name": "get"}, {"url": "SpriteSheet.html#method_getAnimation", "access": "", "host": "SpriteSheet", "type": "method", "name": "getAnimation"}, {"url": "SpriteSheet.html#method_getAnimations", "access": "", "host": "SpriteSheet", "type": "method", "name": "getAnimations"}, {"url": "BoxBlurFilter.html#method_getBounds", "access": "", "host": "BoxBlurFilter", "type": "method", "name": "getBounds"}, {"url": "Filter.html#method_getBounds", "access": "", "host": "Filter", "type": "method", "name": "getBounds"}, {"url": "DisplayObject.html#method_getCacheDataURL.", "access": "", "host": "DisplayObject", "type": "method", "name": "getCacheDataURL."}, {"url": "Container.html#method_getChildAt", "access": "", "host": "Container", "type": "method", "name": "getChildAt"}, {"url": "Container.html#method_getChildIndex", "access": "", "host": "Container", "type": "method", "name": "getChildIndex"}, {"url": "DisplayObject.html#method_getConcatenatedMatrix", "access": "", "host": "DisplayObject", "type": "method", "name": "getConcatenatedMatrix"}, {"url": "Stage.html#method__getElementRect", "access": "protected", "host": "Stage", "type": "method", "name": "_getElementRect"}, {"url": "Ticker.html#method_getFPS", "access": "", "host": "Ticker", "type": "method", "name": "getFPS"}, {"url": "SpriteSheet.html#method_getFrame", "access": "", "host": "SpriteSheet", "type": "method", "name": "getFrame"}, {"url": "Graphics.html#method_getHSL", "access": "", "host": "Graphics", "type": "method", "name": "getHSL"}, {"url": "Ticker.html#method_getInterval", "access": "", "host": "Ticker", "type": "method", "name": "getInterval"}, {"url": "DisplayObject.html#method_getMatrix", "access": "", "host": "DisplayObject", "type": "method", "name": "getMatrix"}, {"url": "Ticker.html#method_getMeasuredFPS", "access": "", "host": "Ticker", "type": "method", "name": "getMeasuredFPS"}, {"url": "Text.html#method_getMeasuredHeight", "access": "", "host": "Text", "type": "method", "name": "getMeasuredHeight"}, {"url": "Text.html#method_getMeasuredLineHeight", "access": "", "host": "Text", "type": "method", "name": "getMeasuredLineHeight"}, {"url": "Text.html#method_getMeasuredWidth", "access": "", "host": "Text", "type": "method", "name": "getMeasuredWidth"}, {"url": "Container.html#method_getNumChildren", "access": "", "host": "Container", "type": "method", "name": "getNumChildren"}, {"url": "SpriteSheet.html#method_getNumFrames", "access": "", "host": "SpriteSheet", "type": "method", "name": "getNumFrames"}, {"url": "Container.html#method__getObjectsUnderPoint", "access": "protected", "host": "Container", "type": "method", "name": "_getObjectsUnderPoint"}, {"url": "Container.html#method_getObjectsUnderPoint", "access": "", "host": "Container", "type": "method", "name": "getObjectsUnderPoint"}, {"url": "Container.html#method_getObjectUnderPoint", "access": "", "host": "Container", "type": "method", "name": "getObjectUnderPoint"}, {"url": "Ticker.html#method_getPaused", "access": "", "host": "Ticker", "type": "method", "name": "getPaused"}, {"url": "Stage.html#method__getPointerData", "access": "protected", "host": "Stage", "type": "method", "name": "_getPointerData"}, {"url": "Graphics.html#method_getRGB", "access": "", "host": "Graphics", "type": "method", "name": "getRGB"}, {"url": "DisplayObject.html#method_getStage", "access": "", "host": "DisplayObject", "type": "method", "name": "getStage"}, {"url": "Ticker.html#method_getTicks", "access": "", "host": "Ticker", "type": "method", "name": "getTicks"}, {"url": "Ticker.html#method__getTime", "access": "protected", "host": "Ticker", "type": "method", "name": "_getTime"}, {"url": "Ticker.html#method_getTime", "access": "", "host": "Ticker", "type": "method", "name": "getTime"}, {"url": "Text.html#method__getWorkingContext", "access": "protected", "host": "Text", "type": "method", "name": "_getWorkingContext"}, {"url": "DisplayObject.html#method_globalToLocal", "access": "", "host": "DisplayObject", "type": "method", "name": "globalToLocal"}, {"url": "DOMElement.html#method_globalToLocal", "access": "", "host": "DOMElement", "type": "method", "name": "globalToLocal"}, {"url": "BitmapAnimation.html#method__goto", "access": "protected", "host": "BitmapAnimation", "type": "method", "name": "_goto"}, {"url": "BitmapAnimation.html#method_gotoAndPlay", "access": "", "host": "BitmapAnimation", "type": "method", "name": "gotoAndPlay"}, {"url": "MovieClip.html#method_gotoAndPlay", "access": "", "host": "MovieClip", "type": "method", "name": "gotoAndPlay"}, {"url": "BitmapAnimation.html#method_gotoAndStop", "access": "", "host": "BitmapAnimation", "type": "method", "name": "gotoAndStop"}, {"url": "MovieClip.html#method_gotoAndStop", "access": "", "host": "MovieClip", "type": "method", "name": "gotoAndStop"}, {"url": "Shape.html#property_graphics", "access": "", "host": "Shape", "type": "property", "name": "graphics"}, {"url": "ColorFilter.html#property_greenMultiplier", "access": "", "host": "ColorFilter", "type": "property", "name": "greenMultiplier"}, {"url": "ColorFilter.html#property_greenOffset", "access": "", "host": "ColorFilter", "type": "property", "name": "greenOffset"}, {"url": "Ticker.html#method__handleAF", "access": "protected", "host": "Ticker", "type": "method", "name": "_handleAF"}, {"url": "Stage.html#method__handleDoubleClick", "access": "protected", "host": "Stage", "type": "method", "name": "_handleDoubleClick"}, {"url": "Touch.html#method__handleEnd", "access": "protected", "host": "Touch", "type": "method", "name": "_handleEnd"}, {"url": "SpriteSheet.html#method__handleImageLoad", "access": "protected", "host": "SpriteSheet", "type": "method", "name": "_handleImageLoad"}, {"url": "Stage.html#method__handleMouseDown", "access": "protected", "host": "Stage", "type": "method", "name": "_handleMouseDown"}, {"url": "Stage.html#method__handleMouseMove", "access": "protected", "host": "Stage", "type": "method", "name": "_handleMouseMove"}, {"url": "Stage.html#method__handleMouseUp", "access": "protected", "host": "Stage", "type": "method", "name": "_handleMouseUp"}, {"url": "Touch.html#method__handleMove", "access": "protected", "host": "Touch", "type": "method", "name": "_handleMove"}, {"url": "Stage.html#method__handlePointerDown", "access": "protected", "host": "Stage", "type": "method", "name": "_handlePointerDown"}, {"url": "Stage.html#method__handlePointerMove", "access": "protected", "host": "Stage", "type": "method", "name": "_handlePointerMove"}, {"url": "Stage.html#method__handlePointerUp", "access": "protected", "host": "Stage", "type": "method", "name": "_handlePointerUp"}, {"url": "Touch.html#method__handleStart", "access": "protected", "host": "Touch", "type": "method", "name": "_handleStart"}, {"url": "Ticker.html#method__handleTimeout", "access": "protected", "host": "Ticker", "type": "method", "name": "_handleTimeout"}, {"url": "Rectangle.html#property_height", "access": "", "host": "Rectangle", "type": "property", "name": "height"}, {"url": "DisplayObject.html#property_hitArea", "access": "", "host": "DisplayObject", "type": "property", "name": "hitArea"}, {"url": "Container.html#method_hitTest", "access": "", "host": "Container", "type": "method", "name": "hitTest"}, {"url": "DisplayObject.html#method_hitTest", "access": "", "host": "DisplayObject", "type": "method", "name": "hitTest"}, {"url": "DisplayObject.html#property__hitTestCanvas", "access": "protected", "host": "DisplayObject", "type": "property", "name": "_hitTestCanvas"}, {"url": "DisplayObject.html#property__hitTestContext", "access": "protected", "host": "DisplayObject", "type": "property", "name": "_hitTestContext"}, {"url": "DOMElement.html#property_htmlElement", "access": "", "host": "DOMElement", "type": "property", "name": "htmlElement"}, {"url": "DisplayObject.html#property_id", "access": "", "host": "DisplayObject", "type": "property", "name": "id"}, {"url": "Shadow.html#property_identity", "access": "", "host": "Shadow", "type": "property", "name": "identity"}, {"url": "Matrix2D.html#property_identity", "access": "", "host": "Matrix2D", "type": "property", "name": "identity"}, {"url": "Matrix2D.html#method_identity", "access": "", "host": "Matrix2D", "type": "method", "name": "identity"}, {"url": "ColorMatrix.html#property_IDENTITY_MATRIX", "access": "", "host": "ColorMatrix", "type": "property", "name": "IDENTITY_MATRIX"}, {"url": "Touch.html#method__IE_enable", "access": "protected", "host": "Touch", "type": "method", "name": "_IE_enable"}, {"url": "Touch.html#method__IE_handleEvent", "access": "protected", "host": "Touch", "type": "method", "name": "_IE_handleEvent"}, {"url": "Bitmap.html#property_image", "access": "", "host": "Bitmap", "type": "property", "name": "image"}, {"url": "SpriteSheet.html#property__images", "access": "protected", "host": "SpriteSheet", "type": "property", "name": "_images"}, {"url": "MovieClip.html#property_INDEPENDENT", "access": "", "host": "MovieClip", "type": "property", "name": "INDEPENDENT"}, {"url": "SpriteSheetBuilder.html#property__index", "access": "protected", "host": "SpriteSheetBuilder", "type": "property", "name": "_index"}, {"url": "Ticker.html#method_init", "access": "", "host": "Ticker", "type": "method", "name": "init"}, {"url": "Ticker.html#property__inited", "access": "protected", "host": "Ticker", "type": "property", "name": "_inited"}, {"url": "Bitmap.html#method_initialize", "access": "protected", "host": "Bitmap", "type": "method", "name": "initialize"}, {"url": "BitmapAnimation.html#method_initialize", "access": "protected", "host": "BitmapAnimation", "type": "method", "name": "initialize"}, {"url": "Container.html#method_initialize", "access": "protected", "host": "Container", "type": "method", "name": "initialize"}, {"url": "DisplayObject.html#method_initialize", "access": "protected", "host": "DisplayObject", "type": "method", "name": "initialize"}, {"url": "DOMElement.html#method_initialize", "access": "protected", "host": "DOMElement", "type": "method", "name": "initialize"}, {"url": "Graphics.html#method_initialize", "access": "protected", "host": "Graphics", "type": "method", "name": "initialize"}, {"url": "MovieClip.html#method_initialize", "access": "protected", "host": "MovieClip", "type": "method", "name": "initialize"}, {"url": "Shadow.html#method_initialize", "access": "protected", "host": "Shadow", "type": "method", "name": "initialize"}, {"url": "SpriteSheet.html#method_initialize", "access": "protected", "host": "SpriteSheet", "type": "method", "name": "initialize"}, {"url": "Text.html#method_initialize", "access": "protected", "host": "Text", "type": "method", "name": "initialize"}, {"url": "MouseEvent.html#method_initialize", "access": "protected", "host": "MouseEvent", "type": "method", "name": "initialize"}, {"url": "ColorFilter.html#method_initialize", "access": "protected", "host": "ColorFilter", "type": "method", "name": "initialize"}, {"url": "ColorMatrix.html#method_initialize", "access": "protected", "host": "ColorMatrix", "type": "method", "name": "initialize"}, {"url": "ColorMatrixFilter.html#method_initialize", "access": "protected", "host": "ColorMatrixFilter", "type": "method", "name": "initialize"}, {"url": "Filter.html#method_initialize", "access": "protected", "host": "Filter", "type": "method", "name": "initialize"}, {"url": "Matrix2D.html#method_initialize", "access": "protected", "host": "Matrix2D", "type": "method", "name": "initialize"}, {"url": "Point.html#method_initialize", "access": "protected", "host": "Point", "type": "method", "name": "initialize"}, {"url": "Rectangle.html#method_initialize", "access": "protected", "host": "Rectangle", "type": "method", "name": "initialize"}, {"url": "SpriteSheetBuilder.html#method_initialize", "access": "protected", "host": "SpriteSheetBuilder", "type": "method", "name": "initialize"}, {"url": "Shape.html#method_initialize\r\nparam {Graphics} graphics", "access": "protected", "host": "Shape", "type": "method", "name": "initialize\r\nparam {Graphics} graphics"}, {"url": "Stage.html#method_initialize\r\nparam {HTMLCanvasElement} canvas A canvas object, or the string id of a canvas object in the current document.", "access": "protected", "host": "Stage", "type": "method", "name": "initialize\r\nparam {HTMLCanvasElement} canvas A canvas object, or the string id of a canvas object in the current document."}, {"url": "Graphics.html#property__instructions", "access": "protected", "host": "Graphics", "type": "property", "name": "_instructions"}, {"url": "Ticker.html#property__interval", "access": "protected", "host": "Ticker", "type": "property", "name": "_interval"}, {"url": "Matrix2D.html#method_invert", "access": "", "host": "Matrix2D", "type": "method", "name": "invert"}, {"url": "Touch.html#method__IOS_disable", "access": "protected", "host": "Touch", "type": "method", "name": "_IOS_disable"}, {"url": "Touch.html#method__IOS_enable", "access": "protected", "host": "Touch", "type": "method", "name": "_IOS_enable"}, {"url": "Touch.html#method__IOS_handleEvent", "access": "protected", "host": "Touch", "type": "method", "name": "_IOS_handleEvent"}, {"url": "Matrix2D.html#method_isIdentity", "access": "", "host": "Matrix2D", "type": "method", "name": "isIdentity"}, {"url": "Touch.html#method_isSupported", "access": "", "host": "Touch", "type": "method", "name": "isSupported"}, {"url": "Bitmap.html#method_isVisible", "access": "", "host": "Bitmap", "type": "method", "name": "isVisible"}, {"url": "BitmapAnimation.html#method_isVisible", "access": "", "host": "BitmapAnimation", "type": "method", "name": "isVisible"}, {"url": "Container.html#method_isVisible", "access": "", "host": "Container", "type": "method", "name": "isVisible"}, {"url": "DisplayObject.html#method_isVisible", "access": "", "host": "DisplayObject", "type": "method", "name": "isVisible"}, {"url": "DOMElement.html#method_isVisible", "access": "", "host": "DOMElement", "type": "method", "name": "isVisible"}, {"url": "MovieClip.html#method_isVisible", "access": "", "host": "MovieClip", "type": "method", "name": "isVisible"}, {"url": "Shape.html#method_isVisible", "access": "", "host": "Shape", "type": "method", "name": "isVisible"}, {"url": "Text.html#method_isVisible", "access": "", "host": "Text", "type": "method", "name": "isVisible"}, {"url": "Ticker.html#property__lastTime", "access": "protected", "host": "Ticker", "type": "property", "name": "_lastTime"}, {"url": "ColorMatrix.html#property_LENGTH", "access": "", "host": "ColorMatrix", "type": "property", "name": "LENGTH"}, {"url": "Graphics.html#property_lf", "access": "protected", "host": "Graphics", "type": "property", "name": "lf"}, {"url": "Text.html#property_lineHeight", "access": "", "host": "Text", "type": "property", "name": "lineHeight"}, {"url": "Graphics.html#method_lineTo", "access": "", "host": "Graphics", "type": "method", "name": "lineTo"}, {"url": "Text.html#property_lineWidth", "access": "", "host": "Text", "type": "property", "name": "lineWidth"}, {"url": "Ticker.html#property__listeners", "access": "protected", "host": "Ticker", "type": "property", "name": "_listeners"}, {"url": "SpriteSheet.html#property__loadCount", "access": "protected", "host": "SpriteSheet", "type": "property", "name": "_loadCount"}, {"url": "DisplayObject.html#method_localToGlobal", "access": "", "host": "DisplayObject", "type": "method", "name": "localToGlobal"}, {"url": "DOMElement.html#method_localToGlobal", "access": "", "host": "DOMElement", "type": "method", "name": "localToGlobal"}, {"url": "DisplayObject.html#method_localToLocal", "access": "", "host": "DisplayObject", "type": "method", "name": "localToLocal"}, {"url": "DOMElement.html#method_localToLocal", "access": "", "host": "DOMElement", "type": "method", "name": "localToLocal"}, {"url": "MovieClip.html#property_loop", "access": "", "host": "MovieClip", "type": "property", "name": "loop"}, {"url": "Graphics.html#property_ls", "access": "protected", "host": "Graphics", "type": "property", "name": "ls"}, {"url": "Graphics.html#property_lt", "access": "protected", "host": "Graphics", "type": "property", "name": "lt"}, {"url": "DisplayObject.html#property_mask", "access": "", "host": "DisplayObject", "type": "property", "name": "mask"}, {"url": "AlphaMaskFilter.html#property_mask", "access": "", "host": "AlphaMaskFilter", "type": "property", "name": "mask"}, {"url": "DisplayObject.html#property__matrix", "access": "protected", "host": "DisplayObject", "type": "property", "name": "_matrix"}, {"url": "SpriteSheetBuilder.html#property_maxHeight", "access": "", "host": "SpriteSheetBuilder", "type": "property", "name": "maxHeight"}, {"url": "Text.html#property_maxWidth", "access": "", "host": "Text", "type": "property", "name": "maxWidth"}, {"url": "SpriteSheetBuilder.html#property_maxWidth", "access": "", "host": "SpriteSheetBuilder", "type": "property", "name": "maxWidth"}, {"url": "SpriteSheetUtils.html#method_mergeAlpha", "access": "", "host": "SpriteSheetUtils", "type": "method", "name": "mergeAlpha"}, {"url": "MovieClip.html#property_mode", "access": "", "host": "MovieClip", "type": "property", "name": "mode"}, {"url": "DisplayObject.html#property_mouseEnabled", "access": "", "host": "DisplayObject", "type": "property", "name": "mouseEnabled"}, {"url": "Stage.html#property_mouseInBounds", "access": "", "host": "Stage", "type": "property", "name": "mouseInBounds"}, {"url": "Stage.html#property__mouseOverIntervalID", "access": "protected", "host": "Stage", "type": "property", "name": "_mouseOverIntervalID"}, {"url": "Stage.html#property_mouseX", "access": "", "host": "Stage", "type": "property", "name": "mouseX"}, {"url": "Stage.html#property_mouseY", "access": "", "host": "Stage", "type": "property", "name": "mouseY"}, {"url": "Graphics.html#method_moveTo", "access": "", "host": "Graphics", "type": "method", "name": "moveTo"}, {"url": "Graphics.html#property_mt", "access": "protected", "host": "Graphics", "type": "property", "name": "mt"}, {"url": "ColorMatrix.html#method__multiplyMatrix", "access": "protected", "host": "ColorMatrix", "type": "method", "name": "_multiplyMatrix"}, {"url": "DisplayObject.html#property_name", "access": "", "host": "DisplayObject", "type": "property", "name": "name"}, {"url": "MouseEvent.html#property_nativeEvent", "access": "", "host": "MouseEvent", "type": "property", "name": "nativeEvent"}, {"url": "Graphics.html#method__newPath", "access": "protected", "host": "Graphics", "type": "method", "name": "_newPath"}, {"url": "DisplayObject.html#property__nextCacheID", "access": "protected", "host": "DisplayObject", "type": "property", "name": "_nextCacheID"}, {"url": "SpriteSheetBuilder.html#property__nextFrameIndex", "access": "protected", "host": "SpriteSheetBuilder", "type": "property", "name": "_nextFrameIndex"}, {"url": "UID.html#property__nextID", "access": "protected", "host": "UID", "type": "property", "name": "_nextID"}, {"url": "BitmapAnimation.html#method__normalizeCurrentFrame", "access": "protected", "host": "BitmapAnimation", "type": "method", "name": "_normalizeCurrentFrame"}, {"url": "SpriteSheet.html#property__numFrames", "access": "protected", "host": "SpriteSheet", "type": "property", "name": "_numFrames"}, {"url": "BitmapAnimation.html#property_offset", "access": "", "host": "BitmapAnimation", "type": "property", "name": "offset"}, {"url": "Shadow.html#property_offsetX", "access": "", "host": "Shadow", "type": "property", "name": "offsetX"}, {"url": "Shadow.html#property_offsetY", "access": "", "host": "Shadow", "type": "property", "name": "offsetY"}, {"url": "Graphics.html#property__oldInstructions", "access": "protected", "host": "Graphics", "type": "property", "name": "_oldInstructions"}, {"url": "BitmapAnimation.html#property_onAnimationEnd", "access": "", "host": "BitmapAnimation", "type": "property", "name": "onAnimationEnd"}, {"url": "DisplayObject.html#event_onClick", "access": "", "host": "DisplayObject", "type": "event", "name": "onClick"}, {"url": "SpriteSheet.html#event_onComplete", "access": "", "host": "SpriteSheet", "type": "event", "name": "onComplete"}, {"url": "DisplayObject.html#event_onDoubleClick", "access": "", "host": "DisplayObject", "type": "event", "name": "onDoubleClick"}, {"url": "Stage.html#event_onMouseDown", "access": "", "host": "Stage", "type": "event", "name": "onMouseDown"}, {"url": "Stage.html#event_onMouseMove", "access": "", "host": "Stage", "type": "event", "name": "onMouseMove"}, {"url": "MouseEvent.html#event_onMouseMove", "access": "", "host": "MouseEvent", "type": "event", "name": "onMouseMove"}, {"url": "DisplayObject.html#event_onMouseOut", "access": "", "host": "DisplayObject", "type": "event", "name": "onMouseOut"}, {"url": "DisplayObject.html#event_onMouseOver", "access": "", "host": "DisplayObject", "type": "event", "name": "onMouseOver"}, {"url": "Stage.html#event_onMouseUp", "access": "", "host": "Stage", "type": "event", "name": "onMouseUp"}, {"url": "MouseEvent.html#event_onMouseUp", "access": "", "host": "MouseEvent", "type": "event", "name": "onMouseUp"}, {"url": "DisplayObject.html#event_onPress", "access": "", "host": "DisplayObject", "type": "event", "name": "onPress"}, {"url": "DisplayObject.html#event_onTick", "access": "", "host": "DisplayObject", "type": "event", "name": "onTick"}, {"url": "Text.html#property_outline", "access": "", "host": "Text", "type": "property", "name": "outline"}, {"url": "Graphics.html#property_p", "access": "protected", "host": "Graphics", "type": "property", "name": "p"}, {"url": "SpriteSheetBuilder.html#property_padding", "access": "", "host": "SpriteSheetBuilder", "type": "property", "name": "padding"}, {"url": "DisplayObject.html#property_parent", "access": "", "host": "DisplayObject", "type": "property", "name": "parent"}, {"url": "Ticker.html#property__pauseable", "access": "protected", "host": "Ticker", "type": "property", "name": "_pauseable"}, {"url": "BitmapAnimation.html#property_paused", "access": "", "host": "BitmapAnimation", "type": "property", "name": "paused"}, {"url": "MovieClip.html#property_paused", "access": "", "host": "MovieClip", "type": "property", "name": "paused"}, {"url": "Ticker.html#property__paused", "access": "protected", "host": "Ticker", "type": "property", "name": "_paused"}, {"url": "Ticker.html#property__pausedTicks", "access": "protected", "host": "Ticker", "type": "property", "name": "_pausedTicks"}, {"url": "Ticker.html#property__pausedTime", "access": "protected", "host": "Ticker", "type": "property", "name": "_pausedTime"}, {"url": "BitmapAnimation.html#method_play", "access": "", "host": "BitmapAnimation", "type": "method", "name": "play"}, {"url": "MovieClip.html#method_play", "access": "", "host": "MovieClip", "type": "method", "name": "play"}, {"url": "MouseEvent.html#property_pointerID", "access": "", "host": "MouseEvent", "type": "property", "name": "pointerID"}, {"url": "Matrix2D.html#method_prepend", "access": "", "host": "Matrix2D", "type": "method", "name": "prepend"}, {"url": "Matrix2D.html#method_prependMatrix", "access": "", "host": "Matrix2D", "type": "method", "name": "prependMatrix"}, {"url": "Matrix2D.html#method_prependProperties", "access": "", "host": "Matrix2D", "type": "method", "name": "prependProperties"}, {"url": "Matrix2D.html#method_prependTransform", "access": "", "host": "Matrix2D", "type": "method", "name": "prependTransform"}, {"url": "MouseEvent.html#property_primaryPointer", "access": "", "host": "MouseEvent", "type": "property", "name": "primaryPointer"}, {"url": "Graphics.html#property_qt", "access": "protected", "host": "Graphics", "type": "property", "name": "qt"}, {"url": "Graphics.html#method_quadraticCurveTo", "access": "", "host": "Graphics", "type": "method", "name": "quadraticCurveTo"}, {"url": "BoxBlurFilter.html#property_quality", "access": "", "host": "BoxBlurFilter", "type": "property", "name": "quality"}, {"url": "Graphics.html#property_r", "access": "protected", "host": "Graphics", "type": "property", "name": "r"}, {"url": "Ticker.html#property__rafActive", "access": "protected", "host": "Ticker", "type": "property", "name": "_rafActive"}, {"url": "MouseEvent.html#property_rawX", "access": "", "host": "MouseEvent", "type": "property", "name": "rawX"}, {"url": "MouseEvent.html#property_rawY", "access": "", "host": "MouseEvent", "type": "property", "name": "rawY"}, {"url": "Graphics.html#property_rc", "access": "protected", "host": "Graphics", "type": "property", "name": "rc"}, {"url": "Graphics.html#method_rect", "access": "", "host": "Graphics", "type": "method", "name": "rect"}, {"url": "ColorFilter.html#property_redMultiplier", "access": "", "host": "ColorFilter", "type": "property", "name": "redMultiplier"}, {"url": "ColorFilter.html#property_redOffset", "access": "", "host": "ColorFilter", "type": "property", "name": "redOffset"}, {"url": "DisplayObject.html#property_regX", "access": "", "host": "DisplayObject", "type": "property", "name": "regX"}, {"url": "SpriteSheet.html#property__regX", "access": "protected", "host": "SpriteSheet", "type": "property", "name": "_regX"}, {"url": "DisplayObject.html#property_regY", "access": "", "host": "DisplayObject", "type": "property", "name": "regY"}, {"url": "SpriteSheet.html#property__regY", "access": "protected", "host": "SpriteSheet", "type": "property", "name": "_regY"}, {"url": "Container.html#method_removeAllChildren", "access": "", "host": "Container", "type": "method", "name": "removeAllChildren"}, {"url": "Ticker.html#method_removeAllListeners", "access": "", "host": "Ticker", "type": "method", "name": "removeAllListeners"}, {"url": "Container.html#method_removeChild", "access": "", "host": "Container", "type": "method", "name": "removeChild"}, {"url": "Container.html#method_removeChildAt", "access": "", "host": "Container", "type": "method", "name": "removeChildAt"}, {"url": "Ticker.html#method_removeListener", "access": "", "host": "Ticker", "type": "method", "name": "removeListener"}, {"url": "ColorMatrix.html#method_reset", "access": "", "host": "ColorMatrix", "type": "method", "name": "reset"}, {"url": "Graphics.html#property_rf", "access": "protected", "host": "Graphics", "type": "property", "name": "rf"}, {"url": "Matrix2D.html#method_rotate", "access": "", "host": "Matrix2D", "type": "method", "name": "rotate"}, {"url": "DisplayObject.html#property_rotation", "access": "", "host": "DisplayObject", "type": "property", "name": "rotation"}, {"url": "Graphics.html#property_rr", "access": "protected", "host": "Graphics", "type": "property", "name": "rr"}, {"url": "Graphics.html#property_rs", "access": "protected", "host": "Graphics", "type": "property", "name": "rs"}, {"url": "SpriteSheetBuilder.html#method__run", "access": "protected", "host": "SpriteSheetBuilder", "type": "method", "name": "_run"}, {"url": "Graphics.html#property_s", "access": "protected", "host": "Graphics", "type": "property", "name": "s"}, {"url": "Matrix2D.html#method_scale", "access": "", "host": "Matrix2D", "type": "method", "name": "scale"}, {"url": "SpriteSheetBuilder.html#property__scale", "access": "protected", "host": "SpriteSheetBuilder", "type": "property", "name": "_scale"}, {"url": "DisplayObject.html#property_scaleX", "access": "", "host": "DisplayObject", "type": "property", "name": "scaleX"}, {"url": "DisplayObject.html#property_scaleY", "access": "", "host": "DisplayObject", "type": "property", "name": "scaleY"}, {"url": "Container.html#method_setChildIndex", "access": "", "host": "Container", "type": "method", "name": "setChildIndex"}, {"url": "Ticker.html#method_setFPS", "access": "", "host": "Ticker", "type": "method", "name": "setFPS"}, {"url": "Ticker.html#method_setInterval", "access": "", "host": "Ticker", "type": "method", "name": "setInterval"}, {"url": "Ticker.html#method_setPaused", "access": "", "host": "Ticker", "type": "method", "name": "setPaused"}, {"url": "Graphics.html#method__setProp", "access": "protected", "host": "Graphics", "type": "method", "name": "_setProp"}, {"url": "Graphics.html#method_setStrokeStyle", "access": "", "host": "Graphics", "type": "method", "name": "setStrokeStyle"}, {"url": "DisplayObject.html#method_setTransform", "access": "", "host": "DisplayObject", "type": "method", "name": "setTransform"}, {"url": "DisplayObject.html#method_setupContext", "access": "", "host": "DisplayObject", "type": "method", "name": "setupContext"}, {"url": "Ticker.html#method__setupTick", "access": "protected", "host": "Ticker", "type": "method", "name": "_setupTick"}, {"url": "DisplayObject.html#property_shadow", "access": "", "host": "DisplayObject", "type": "property", "name": "shadow"}, {"url": "Matrix2D.html#property_shadow", "access": "", "host": "Matrix2D", "type": "property", "name": "shadow"}, {"url": "MovieClip.html#property_SINGLE_FRAME", "access": "", "host": "MovieClip", "type": "property", "name": "SINGLE_FRAME"}, {"url": "Matrix2D.html#method_skew", "access": "", "host": "Matrix2D", "type": "method", "name": "skew"}, {"url": "DisplayObject.html#property_skewX", "access": "", "host": "DisplayObject", "type": "property", "name": "skewX"}, {"url": "DisplayObject.html#property_skewY", "access": "", "host": "DisplayObject", "type": "property", "name": "skewY"}, {"url": "Bitmap.html#property_snapToPixel", "access": "", "host": "Bitmap", "type": "property", "name": "snapToPixel"}, {"url": "BitmapAnimation.html#property_snapToPixel", "access": "", "host": "BitmapAnimation", "type": "property", "name": "snapToPixel"}, {"url": "DisplayObject.html#property_snapToPixel", "access": "", "host": "DisplayObject", "type": "property", "name": "snapToPixel"}, {"url": "Stage.html#property__snapToPixelEnabled", "access": "protected", "host": "Stage", "type": "property", "name": "_snapToPixelEnabled"}, {"url": "Stage.html#property_snapToPixelEnabled", "access": "", "host": "Stage", "type": "property", "name": "snapToPixelEnabled"}, {"url": "Container.html#method_sortChildren", "access": "", "host": "Container", "type": "method", "name": "sortChildren"}, {"url": "Bitmap.html#property_sourceRect", "access": "", "host": "Bitmap", "type": "property", "name": "sourceRect"}, {"url": "BitmapAnimation.html#property_spriteSheet", "access": "", "host": "BitmapAnimation", "type": "property", "name": "spriteSheet"}, {"url": "SpriteSheetBuilder.html#property_spriteSheet", "access": "", "host": "SpriteSheetBuilder", "type": "property", "name": "spriteSheet"}, {"url": "Graphics.html#property_ss", "access": "protected", "host": "Graphics", "type": "property", "name": "ss"}, {"url": "MouseEvent.html#property_stageX", "access": "", "host": "MouseEvent", "type": "property", "name": "stageX"}, {"url": "MouseEvent.html#property_stageY", "access": "", "host": "MouseEvent", "type": "property", "name": "stageY"}, {"url": "SpriteSheetBuilder.html#method__startBuild", "access": "protected", "host": "SpriteSheetBuilder", "type": "method", "name": "_startBuild"}, {"url": "MovieClip.html#property_startPosition", "access": "", "host": "MovieClip", "type": "property", "name": "startPosition"}, {"url": "Ticker.html#property__startTime", "access": "protected", "host": "Ticker", "type": "property", "name": "_startTime"}, {"url": "BitmapAnimation.html#method_stop", "access": "", "host": "BitmapAnimation", "type": "method", "name": "stop"}, {"url": "MovieClip.html#method_stop", "access": "", "host": "MovieClip", "type": "method", "name": "stop"}, {"url": "SpriteSheetBuilder.html#method_stopAsync", "access": "", "host": "SpriteSheetBuilder", "type": "method", "name": "stopAsync"}, {"url": "Graphics.html#property_STROKE_CAPS_MAP", "access": "", "host": "Graphics", "type": "property", "name": "STROKE_CAPS_MAP"}, {"url": "Graphics.html#property_strokeCmd", "access": "protected", "host": "Graphics", "type": "property", "name": "strokeCmd"}, {"url": "Graphics.html#property__strokeInstructions", "access": "protected", "host": "Graphics", "type": "property", "name": "_strokeInstructions"}, {"url": "Graphics.html#property_STROKE_JOINTS_MAP", "access": "", "host": "Graphics", "type": "property", "name": "STROKE_JOINTS_MAP"}, {"url": "Graphics.html#property__strokeStyleInstructions", "access": "protected", "host": "Graphics", "type": "property", "name": "_strokeStyleInstructions"}, {"url": "DOMElement.html#property__style", "access": "protected", "host": "DOMElement", "type": "property", "name": "_style"}, {"url": "DisplayObject.html#property_suppressCrossDomainErrors", "access": "", "host": "DisplayObject", "type": "property", "name": "suppressCrossDomainErrors"}, {"url": "Container.html#method_swapChildren", "access": "", "host": "Container", "type": "method", "name": "swapChildren"}, {"url": "Container.html#method_swapChildrenAt", "access": "", "host": "Container", "type": "method", "name": "swapChildrenAt"}, {"url": "MovieClip.html#property_SYNCHED", "access": "", "host": "MovieClip", "type": "property", "name": "SYNCHED"}, {"url": "MouseEvent.html#property_target", "access": "", "host": "MouseEvent", "type": "property", "name": "target"}, {"url": "DisplayObject.html#method__testHit", "access": "protected", "host": "DisplayObject", "type": "method", "name": "_testHit"}, {"url": "Stage.html#method__testMouseOver", "access": "protected", "host": "Stage", "type": "method", "name": "_testMouseOver"}, {"url": "Text.html#property_text", "access": "", "host": "Text", "type": "property", "name": "text"}, {"url": "Text.html#property_textAlign", "access": "", "host": "Text", "type": "property", "name": "textAlign"}, {"url": "Text.html#property_textBaseline", "access": "", "host": "Text", "type": "property", "name": "textBaseline"}, {"url": "BitmapAnimation.html#method__tick", "access": "protected", "host": "BitmapAnimation", "type": "method", "name": "_tick"}, {"url": "Container.html#method__tick", "access": "protected", "host": "Container", "type": "method", "name": "_tick"}, {"url": "DisplayObject.html#method__tick", "access": "protected", "host": "DisplayObject", "type": "method", "name": "_tick"}, {"url": "Ticker.html#method__tick", "access": "protected", "host": "Ticker", "type": "method", "name": "_tick"}, {"url": "Ticker.html#event_tick", "access": "", "host": "Ticker", "type": "event", "name": "tick"}, {"url": "Stage.html#event_tick\r\nBroadcast to children when the stage is updated.", "access": "", "host": "Stage", "type": "event", "name": "tick\r\nBroadcast to children when the stage is updated."}, {"url": "Stage.html#property_tickOnUpdate", "access": "", "host": "Stage", "type": "property", "name": "tickOnUpdate"}, {"url": "Ticker.html#property__ticks", "access": "protected", "host": "Ticker", "type": "property", "name": "_ticks"}, {"url": "Ticker.html#property__tickTimes", "access": "protected", "host": "Ticker", "type": "property", "name": "_tickTimes"}, {"url": "MovieClip.html#property_timeline", "access": "", "host": "MovieClip", "type": "property", "name": "timeline"}, {"url": "Ticker.html#property__timeoutID", "access": "protected", "host": "Ticker", "type": "property", "name": "_timeoutID"}, {"url": "SpriteSheetBuilder.html#property__timerID", "access": "protected", "host": "SpriteSheetBuilder", "type": "property", "name": "_timerID"}, {"url": "Ticker.html#property__times", "access": "protected", "host": "Ticker", "type": "property", "name": "_times"}, {"url": "SpriteSheetBuilder.html#property__timeSlice", "access": "protected", "host": "SpriteSheetBuilder", "type": "property", "name": "_timeSlice"}, {"url": "ColorMatrix.html#method_toArray", "access": "", "host": "ColorMatrix", "type": "method", "name": "toArray"}, {"url": "Stage.html#method_toDataURL", "access": "", "host": "Stage", "type": "method", "name": "toDataURL"}, {"url": "Bitmap.html#method_toString", "access": "", "host": "Bitmap", "type": "method", "name": "toString"}, {"url": "BitmapAnimation.html#method_toString", "access": "", "host": "BitmapAnimation", "type": "method", "name": "toString"}, {"url": "Container.html#method_toString", "access": "", "host": "Container", "type": "method", "name": "toString"}, {"url": "DisplayObject.html#method_toString", "access": "", "host": "DisplayObject", "type": "method", "name": "toString"}, {"url": "DOMElement.html#method_toString", "access": "", "host": "DOMElement", "type": "method", "name": "toString"}, {"url": "Graphics.html#method_toString", "access": "", "host": "Graphics", "type": "method", "name": "toString"}, {"url": "MovieClip.html#method_toString", "access": "", "host": "MovieClip", "type": "method", "name": "toString"}, {"url": "Shadow.html#method_toString", "access": "", "host": "Shadow", "type": "method", "name": "toString"}, {"url": "Shape.html#method_toString", "access": "", "host": "Shape", "type": "method", "name": "toString"}, {"url": "SpriteSheet.html#method_toString", "access": "", "host": "SpriteSheet", "type": "method", "name": "toString"}, {"url": "Stage.html#method_toString", "access": "", "host": "Stage", "type": "method", "name": "toString"}, {"url": "Text.html#method_toString", "access": "", "host": "Text", "type": "method", "name": "toString"}, {"url": "MouseEvent.html#method_toString", "access": "", "host": "MouseEvent", "type": "method", "name": "toString"}, {"url": "AlphaMapFilter.html#method_toString", "access": "", "host": "AlphaMapFilter", "type": "method", "name": "toString"}, {"url": "AlphaMaskFilter.html#method_toString", "access": "", "host": "AlphaMaskFilter", "type": "method", "name": "toString"}, {"url": "BoxBlurFilter.html#method_toString", "access": "", "host": "BoxBlurFilter", "type": "method", "name": "toString"}, {"url": "ColorFilter.html#method_toString", "access": "", "host": "ColorFilter", "type": "method", "name": "toString"}, {"url": "ColorMatrixFilter.html#method_toString", "access": "", "host": "ColorMatrixFilter", "type": "method", "name": "toString"}, {"url": "Filter.html#method_toString", "access": "", "host": "Filter", "type": "method", "name": "toString"}, {"url": "Matrix2D.html#method_toString", "access": "", "host": "Matrix2D", "type": "method", "name": "toString"}, {"url": "Point.html#method_toString", "access": "", "host": "Point", "type": "method", "name": "toString"}, {"url": "Rectangle.html#method_toString", "access": "", "host": "Rectangle", "type": "method", "name": "toString"}, {"url": "SpriteSheetBuilder.html#method_toString", "access": "", "host": "SpriteSheetBuilder", "type": "method", "name": "toString"}, {"url": "Matrix2D.html#method_translate", "access": "", "host": "Matrix2D", "type": "method", "name": "translate"}, {"url": "Matrix2D.html#property_ty", "access": "", "host": "Matrix2D", "type": "property", "name": "ty"}, {"url": "MouseEvent.html#property_type", "access": "", "host": "MouseEvent", "type": "property", "name": "type"}, {"url": "Bitmap.html#method_uncache", "access": "", "host": "Bitmap", "type": "method", "name": "uncache"}, {"url": "BitmapAnimation.html#method_uncache", "access": "", "host": "BitmapAnimation", "type": "method", "name": "uncache"}, {"url": "DisplayObject.html#method_uncache", "access": "", "host": "DisplayObject", "type": "method", "name": "uncache"}, {"url": "DOMElement.html#method_uncache", "access": "", "host": "DOMElement", "type": "method", "name": "uncache"}, {"url": "Stage.html#method_update", "access": "", "host": "Stage", "type": "method", "name": "update"}, {"url": "Bitmap.html#method_updateCache", "access": "", "host": "Bitmap", "type": "method", "name": "updateCache"}, {"url": "BitmapAnimation.html#method_updateCache", "access": "", "host": "BitmapAnimation", "type": "method", "name": "updateCache"}, {"url": "DisplayObject.html#method_updateCache", "access": "", "host": "DisplayObject", "type": "method", "name": "updateCache"}, {"url": "DOMElement.html#method_updateCache", "access": "", "host": "DOMElement", "type": "method", "name": "updateCache"}, {"url": "Graphics.html#method__updateInstructions", "access": "protected", "host": "Graphics", "type": "method", "name": "_updateInstructions"}, {"url": "Stage.html#method__updatePointerPosition", "access": "protected", "host": "Stage", "type": "method", "name": "_updatePointerPosition"}, {"url": "Ticker.html#property_useRAF", "access": "", "host": "Ticker", "type": "property", "name": "useRAF"}, {"url": "DisplayObject.html#property_visible", "access": "", "host": "DisplayObject", "type": "property", "name": "visible"}, {"url": "Rectangle.html#property_width", "access": "", "host": "Rectangle", "type": "property", "name": "width"}, {"url": "SpriteSheetUtils.html#property__workingCanvas", "access": "protected", "host": "SpriteSheetUtils", "type": "property", "name": "_workingCanvas"}, {"url": "SpriteSheetUtils.html#property__workingContext", "access": "protected", "host": "SpriteSheetUtils", "type": "property", "name": "_workingContext"}, {"url": "DisplayObject.html#property_x", "access": "", "host": "DisplayObject", "type": "property", "name": "x"}, {"url": "Point.html#property_x", "access": "", "host": "Point", "type": "property", "name": "x"}, {"url": "Rectangle.html#property_x", "access": "", "host": "Rectangle", "type": "property", "name": "x"}, {"url": "DisplayObject.html#property_y", "access": "", "host": "DisplayObject", "type": "property", "name": "y"}, {"url": "Point.html#property_y", "access": "", "host": "Point", "type": "property", "name": "y"}, {"url": "Rectangle.html#property_y", "access": "", "host": "Rectangle", "type": "property", "name": "y"}];
</script>
</body>
</html>
